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.
- package/README.md +29 -7
- 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` -
|
|
94
|
-
- `displayName` -
|
|
95
|
-
- `externalId` -
|
|
96
|
-
- `title` -
|
|
97
|
-
- `description` - description in the autotest card
|
|
98
|
-
- `labels` - tags in the
|
|
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.
|
|
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.
|
|
17
|
+
"testit-js-commons": "^2.0.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@codeceptjs/configure": "^0.10.0",
|