testit-adapter-codecept 5.0.1-TMS-5.8 → 5.0.2-TMS-5.8
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 +4 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -25,6 +25,8 @@ The adapter includes a custom logger; the default level is `warn`. Set another l
|
|
|
25
25
|
| ID of configuration in TMS instance [How to getting configuration ID?](https://github.com/testit-tms/.github/tree/main/configuration#configurationid) | configurationId | TMS_CONFIGURATION_ID |
|
|
26
26
|
| ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 1 | testRunId | TMS_TEST_RUN_ID |
|
|
27
27
|
| Parameter for specifying the name of test run in TMS instance (**It's optional**). If it is not provided, it is created automatically | testRunName | TMS_TEST_RUN_NAME |
|
|
28
|
+
| Tags of the test run in TMS (**It's optional**). Comma-separated list or JSON array of strings. Applied on create (adapterMode 2) or merged at startup for an existing run. Not the same as autotest tags. | testRunTags | TMS_TEST_RUN_TAGS |
|
|
29
|
+
| Links of the test run in TMS (**It's optional**). JSON array of objects with required `url` and optional `title`, `description`, `type`. Applied on create or merged at startup so a CI job URL is visible while the run is In Progress. Link types: `Related`, `BlockedBy`, `Defect`, `Issue`, `Requirement`, `Repository`. | testRunLinks | TMS_TEST_RUN_LINKS |
|
|
28
30
|
| Adapter mode. Default value - 1. The adapter supports following modes:<br>1 - in this mode, the adapter sends all results to the test run without filtering or [with filtering CLI](#run-with-filter)<br/>2 - in this mode, the adapter creates a new test run and sends results to the new test run | adapterMode | TMS_ADAPTER_MODE |
|
|
29
31
|
| It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION |
|
|
30
32
|
| Mode of automatic creation test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will create a test case linked to the created autotest (not to the updated autotest)<br/>false - in this mode, the adapter will not create a test case | automaticCreationTestCases | TMS_AUTOMATIC_CREATION_TEST_CASES |
|
|
@@ -87,6 +89,8 @@ Create .env config or file config with default name tms.config.json in the root
|
|
|
87
89
|
"configurationId": "CONFIGURATION_ID",
|
|
88
90
|
"testRunId": "TEST_RUN_ID",
|
|
89
91
|
"testRunName": "TEST_RUN_NAME",
|
|
92
|
+
"testRunTags": ["smoke", "nightly"],
|
|
93
|
+
"testRunLinks": [{"url": "https://gitlab.example.com/group/project/-/jobs/12345", "title": "CI Job", "type": "Related"}],
|
|
90
94
|
"adapterMode": ADAPTER_MODE,
|
|
91
95
|
"automaticCreationTestCases": AUTOMATIC_CREATION_TEST_CASES,
|
|
92
96
|
"automaticUpdationLinksToTestCases": AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testit-adapter-codecept",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2-TMS-5.8",
|
|
4
4
|
"description": "Codecept adapter for Test IT",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"watch": "tsc -p tsconfig.json -w"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"testit-js-commons": "5.0.
|
|
18
|
+
"testit-js-commons": "5.0.2-TMS-5.8"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@codeceptjs/configure": "^0.10.0",
|