Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ciffi/tester
Node utilities for testing
https://github.com/ciffi/tester
Last synced: 2 days ago
JSON representation
Node utilities for testing
- Host: GitHub
- URL: https://github.com/ciffi/tester
- Owner: ciffi
- License: mit
- Created: 2024-03-29T11:24:59.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-16T06:53:19.000Z (7 months ago)
- Last Synced: 2024-09-18T03:30:02.456Z (about 2 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tester
Node utilities for testing
## install
```bash
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)
```bash
npm run tester:r JIRA-ISSUE-ID
or
yarn tester:r JIRA-ISSUE-ID
```generate steps form feature file
```bash
npm run tester:g FILE-NAME
or
yarn tester:g FILE-NAME
```run tests in terminal
```bash
npm run tester:r
or
yarn tester:r
```run tests in terminal filtered by tags
```bash
npm run tester:r -- --env tags="@tagName"
or
yarn tester:r -- --env tags="@tagName"
```run tests in browser
```bash
npm run tester:ui
or
yarn tester:ui
```## write feature file
add your feature file in folder `cypress/features`