1.0.6 • Published 1 year ago

add-jira-test v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Add Jira test

Use this tool to automatically fetch and generate a test file based on a given jira issue.

You can read an helpful help message with

npx add-jira-test --help

How to use

Call using npx. All of the configs can be set either using CLI args or in a config file (recommended for auth).

npx add-jira-test --config path/to/config.json --output=path/to/example.spec.ts JIRA-123
// path/to/config.json
{
  "username": "example@example.org",
  "password": "pat123",
  "host": "awesome.atlassian.net",
  "testPlanLabel": "TestPlan"
}
npx add-jira-test --username=example@example.org --password=pat123 --host awesome.atlassian.net --test-plan-label=TestPlan --output=path/to/example.spec.ts JIRA-123

The given ticket can either be a test case or a test plan. In order to identify which is which, you'll need to add a specific label to the JIRA issue. We require it to be set up as well (either via config or CLI)

Authentication

In order to authenticate you need to create an API token.

Read how here.

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago