Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
parallel_report_portal
Advanced tools
This gem is a Ruby-Cucumber formatter which sends the test output to Report Portal.
This formatter supports plain 'ol Cucumber tests and those wrapped with parallel_tests.
It also supports Cucumber 3.x and 4+ (Cucumber implementations using cucumber-messages).
Add this line to your application's Gemfile:
gem 'parallel_report_portal'
And then execute:
$ bundle
Or install it yourself as:
$ gem install parallel_report_portal
The formatter supports configuration via a config file or via environment variables
It will search for a file called report_portal.yml
or REPORT_PORTAL.YML
in ./config
and ./
. It expects this file to contain the standard Report Portal configuration options -- see the Report Portal documentation. Optionally, the config file keys may match those accepted through environment variables -- they may contain 'rp*' and 'RP*'.
When running in parallel you might encounter some connection timeouts and these have been made configurable. You can configure the Report Portal yaml file with these attributes and set your own custom timeout values.
idle_timeout: 100
open_timeout: 60
read_timeout: 60
It will search for the following environment variables which may be in upper or lowercase (the official client defers to lower case, this is available here for compatibility).
RP_API_KEY
- the API Key for this Report Portal instance which must be created in advanceRP_ENDPOINT
- the endpoint for this Report Portal instanceRP_PROJECT
- the Report Portal project name which must be created in advance and this user added as a memberRP_LAUNCH
- the name of this 'launch'RP_DEBUG
- optional if set to the string value true
it will instruct Report Portal to add the output of these tests to the debug tabRP_DESCRIPTION
- optional a textual description of the launchRP_TAGS
- optional a string of comma separated tagsRP_ATTRIBUTES
- optional a string of comma separated attributescucumber -f ParallelReportPortal::Cucumber::Formatter
With cucumber and another formatter (so you can see the testoutput)
cucumber -f ParallelReportPortal::Cucumber::Formatter --out /dev/null -f progress
parallel_cucumber -- -f ParallelReportPortal::Cucumber::Formatter -- features/
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/dvla/dvla-reportportal-ruby.
FAQs
Unknown package
We found that parallel_report_portal demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.