Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
allure-ruby-adaptor-api
Advanced tools
This is a helper library containing the basics for any ruby-based Allure adaptor. Using it you can easily implement the adaptor for your favourite ruby testing library or you can just create the report of any other kind using the basic Allure terms.
Add the dependency to your Gemfile
gem 'allure-ruby-adaptor-api'
You can specify the directory where the Allure test results will appear. By default it would be 'gen/allure-results' within your current directory.
AllureRubyAdaptorApi.configure do |c|
c.output_dir = "/whatever/you/like"
end
builder = AllureRubyAdaptorApi::Builder
builder.start_suite "some_suite", :severity => :normal
builder.start_test "some_suite", "some_test", :feature => "Some feature", :severity => :critical
builder.start_step "some_suite", "some_test", "first step"
builder.add_attachment "some_suite", "some_test", :file => Tempfile.new("somefile")
builder.stop_step "some_suite", "some_test", "first step"
builder.start_step "some_suite", "some_test", "second step"
builder.add_attachment "some_suite", "some_test", :step_id => "second step", :file => Tempfile.new("somefile")
builder.stop_step "some_suite", "some_test", "second step"
builder.start_step "some_suite", "some_test", "third step"
builder.stop_step "some_suite", "some_test", "third step", :failed
builder.stop_test "some_suite", "some_test", :status => :broken, :exception => Exception.new("some error")
builder.stop_suite "some_suite"
# This will generate the results within your output directory
builder.build!
FAQs
Unknown package
We found that allure-ruby-adaptor-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.