testcafe-reporter-testit 5.0.1 → 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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -23,6 +23,8 @@ The adapter includes a custom logger; the default level is `warn`. Set another l
23
23
  | 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 |
24
24
  | ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 1 | testRunId | TMS_TEST_RUN_ID |
25
25
  | 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 |
26
+ | 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 |
27
+ | 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 |
26
28
  | 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<br/>2 - in this mode, the adapter creates a new test run and sends results to the new test run | adapterMode | TMS_ADAPTER_MODE |
27
29
  | It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION |
28
30
  | 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 |
@@ -41,6 +43,8 @@ The adapter includes a custom logger; the default level is `warn`. Set another l
41
43
  "configurationId": "CONFIGURATION_ID",
42
44
  "testRunId": "TEST_RUN_ID",
43
45
  "testRunName": "TEST_RUN_NAME",
46
+ "testRunTags": ["smoke", "nightly"],
47
+ "testRunLinks": [{"url": "https://gitlab.example.com/group/project/-/jobs/12345", "title": "CI Job", "type": "Related"}],
44
48
  "adapterMode": 1 or 2,
45
49
  "automaticCreationTestCases": true or false (optional variable),
46
50
  "certValidation": true or false (optional variable),
@@ -57,6 +61,8 @@ TMS_PROJECT_ID=YourProjectId;
57
61
  TMS_CONFIGURATION_ID=YourConfigurationId;
58
62
  TMS_TEST_RUN_ID=TestRunId;
59
63
  TMS_TEST_RUN_NAME=TestRunName; # optional
64
+ TMS_TEST_RUN_TAGS=smoke,nightly; # optional
65
+ TMS_TEST_RUN_LINKS=[{"url":"https://gitlab.example.com/group/project/-/jobs/12345","title":"CI Job","type":"Related"}]; # optional
60
66
  TMS_ADAPTER_MODE=1; # or 2
61
67
  TMS_CONFIG_FILE=pathToAnotherConfigFile; #optional
62
68
  TMS_AUTOMATIC_CREATION_TEST_CASES=false; # or true, optional
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testcafe-reporter-testit",
3
- "version": "5.0.1",
3
+ "version": "5.0.2-TMS-5.8",
4
4
  "description": "TestCafe adapter for Test IT",
5
5
  "keywords": [],
6
6
  "author": {
@@ -43,6 +43,6 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@types/minimatch": "^5.1.2",
46
- "testit-js-commons": "5.0.1"
46
+ "testit-js-commons": "5.0.2-TMS-5.8"
47
47
  }
48
48
  }