Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
cucumber-testrail
Advanced tools
Readme
Portal for Displaying Cucumber Results from CircleCI on TestRail!
Preconditions
Create New Project and enter project overview. The last number in the resulting url is your project_id
Navigate to Test Cases tab
Generate a new section and add test cases for your suite
Navigate to Test Runs & Results tab
Click on Add Test Plan Button
Give your test plan a name and click Add Test Plan. The last number in the resulting url is your testplan_id
Enable CircleCI builds for your repository
Add your username and password as environment variables in the CircleCI dashboard's project settings
cucumber_testrail.yml
file to your root directory containing the following information:testrail_url: "https://yourtestrailurlhere.testrail.net/index.php?"
suites:
- suite:
project_id: [your project_id]
project_symbol: 'SYM'
suite_id: (optional) 1
section_id: (optional) [your section_id (not exposed on the UI but is sequential so starts with 1)]
testplan_id: [your testplan_id]
In this configuration, you will have one suite. Tags with the SYM symbol in your cucumber tags will correlate with this TestRail suite.
circle.yml
file:machine:
node:
version: 6.1.0
test:
pre:
# create a new folder in circle's artifacts directory for our cucumber results
- mkdir -p $CIRCLE_TEST_REPORTS/cucumber
override:
# run the cucumber tests and publish the json format to circle's artifacts
- cucumber-js --format json:$CIRCLE_TEST_REPORTS/cucumber/tests.cucumber --format pretty
post:
- ./bin/publish_results
Check out the FAQs page about configuring nightly test runs.
bin/publish
or any subsitute that will define when the builds should publish results to testrail:./node_modules/.bin/cucumber-testrail -c cucumber_testrail.yml -r $CIRCLE_TEST_REPORTS/cucumber/tests.cucumber -u $TESTRAIL_USERNAME -p $TESTRAIL_PASSWORD -i '[SOME MESSAGE]'
Here, [SOME MESSAGE] could denote an environment or and action. You can remove that option if you don't need it.
@TestRail-SYM-1
Scenario: Logging in to the Application
In this example, this scenario maps to case_id 1 from your SYM test suite
See our Frequently Asked Questions page for other important information before you get started.
FAQs
Pushes Cucumber Results from CircleCI to TestRails
The npm package cucumber-testrail receives a total of 16 weekly downloads. As such, cucumber-testrail popularity was classified as not popular.
We found that cucumber-testrail 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.