@ciffi-js/tester
v1.0.6
Published
Node utilities for testing
Downloads
2
Readme
tester
Node utilities for testing
install
npm install -D @ciffi-js/tester
or
yarn add --dev @ciffi-js/tester
configure env variables
You can use .env file
TESTER_BASE_URL is required
- TESTER_JIRA_EMAIL
- TESTER_JIRA_TOKEN
- TESTER_JIRA_URL
- TESTER_JIRA_FIELD
- TESTER_BASE_URL
- TESTER_LANG
generate features and steps
generate feature and steps form JIRA (TESTER_JIRA_FIELD is the field id where you have your test scenario)
npm run tester:r JIRA-ISSUE-ID
or
yarn tester:r JIRA-ISSUE-ID
generate steps form feature file
npm run tester:g FILE-NAME
or
yarn tester:g FILE-NAME
run tests in terminal
npm run tester:r
or
yarn tester:r
run tests in terminal filtered by tags
npm run tester:r -- --env tags="@tagName"
or
yarn tester:r -- --env tags="@tagName"
run tests in browser
npm run tester:ui
or
yarn tester:ui
write feature file
add your feature file in folder cypress/features