Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.