dld-features
v1.0.1
Published
Can log "hello world" and "goodbye world" to the console!
Downloads
3
Readme
Zephyr BDD Feature Downloader
This repository contains TypeScript code used to download BDD feature files from Zephyr. The script is designed to be run using Node.js.
Installation
To install the dependencies, use npm:
npm install
Usage
To run the script, use npm with the download-features
script:
npm run download-features -- --testExecutionKey <zephyr test key> [--path <path to place feature files>]
Arguments
--testExecutionKey <zephyr test key>
: (required) The Zephyr test key identifying the test execution, e.g.,CON-T100
.--path <path to place feature files>
: (optional) The output path where the feature files will be placed. If not provided, the default path is./features
.
Example
npm run download-features -- --testExecutionKey CON-T100 --path ./my-features
This command will download the BDD feature file for the Zephyr test CON-T100
and place them in the ./my-features
directory.
Download tests associated with a specific Zephyr Test Cycle
To download a BDD test or a collection of BDD tests that are associated with a specific Zephyr Test Cycle then use the same syntax as above replacing the Zephyr Test Key with the Zephyr Test Cycle Key:
Example
npm run download-features -- --testExecutionKey CON-R19 --path ./my-features
This command will download all BDD feature files associated with test cycleCON-R9
and place them in the ./my-features
directory.