testit-adapter-codecept 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +29 -7
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -85,18 +85,40 @@ Create .env config or file config with default name testit-adapter.config.json i
85
85
  }
86
86
  ```
87
87
 
88
+ #### Parallel run
89
+ To create and complete TestRun you can use the Test IT CLI:
90
+
91
+ ```
92
+ $ export TMS_TOKEN=<YOUR_TOKEN>
93
+ $ testit \
94
+ --mode create
95
+ --url https://tms.testit.software \
96
+ --project-id 5236eb3f-7c05-46f9-a609-dc0278896464 \
97
+ --testrun-name "New test run" \
98
+ --output tmp/output.txt
99
+
100
+ $ export TMS_TEST_RUN_ID=$(cat output.txt)
101
+
102
+ $ npx codeceptjs run
103
+
104
+ $ testit \
105
+ --mode finish
106
+ --url https://tms.testit.software \
107
+ --testrun-id $(cat tmp/output.txt)
108
+ ```
109
+
88
110
  ### Methods
89
111
 
90
112
  Methods can be used to specify information about autotest.
91
113
 
92
114
  Description of metadata methods:
93
- - `workItemIds` - linking an autotest to a test case
94
- - `displayName` - name of the autotest in the Test IT system (can be replaced with documentation strings)
95
- - `externalId` - ID of the autotest within the project in the Test IT System
96
- - `title` - title in the autotest card
97
- - `description` - description in the autotest card
98
- - `labels` - tags in the work item
99
- - `link` - links in the autotest card
115
+ - `workItemIds` - a method that links autotests with manual tests. Receives the array of manual tests' IDs
116
+ - `displayName` - internal autotest name (used in Test IT)
117
+ - `externalId` - unique internal autotest ID (used in Test IT)
118
+ - `title` - autotest name specified in the autotest card. If not specified, the name from the displayName method is used
119
+ - `description` - autotest description specified in the autotest card
120
+ - `labels` - tags listed in the autotest card
121
+ - `link` - links listed in the autotest card
100
122
  - `namespace` - directory in the TMS system
101
123
  - `classname` - subdirectory in the TMS system
102
124
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testit-adapter-codecept",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Codecept adapter for Test IT",
5
5
  "keywords": [],
6
6
  "author": {
@@ -14,7 +14,7 @@
14
14
  "watch": "tsc -p tsconfig.json -w"
15
15
  },
16
16
  "dependencies": {
17
- "testit-js-commons": "^2.0.0"
17
+ "testit-js-commons": "^2.0.1"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@codeceptjs/configure": "^0.10.0",