@testomatio/reporter 1.0.0-beta.4 → 1.0.1-6.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/Changelog.md +100 -2
- package/README.md +92 -540
- package/lib/{ArtifactStorage.js → _ArtifactStorageOld.js} +16 -5
- package/lib/adapter/codecept.js +83 -53
- package/lib/adapter/cucumber/current.js +95 -59
- package/lib/adapter/cucumber/legacy.js +25 -11
- package/lib/adapter/cypress-plugin/index.js +1 -1
- package/lib/adapter/jasmine.js +1 -1
- package/lib/adapter/jest.js +30 -2
- package/lib/adapter/mocha.js +24 -24
- package/lib/adapter/playwright.js +18 -11
- package/lib/adapter/webdriver.js +1 -1
- package/lib/artifactStorage.js +25 -0
- package/lib/bin/reportXml.js +1 -0
- package/lib/bin/startTest.js +25 -4
- package/lib/client.js +117 -41
- package/lib/constants.js +5 -0
- package/lib/dataStorage.js +232 -0
- package/lib/junit-adapter/java.js +27 -9
- package/lib/logger.js +319 -0
- package/lib/pipe/csv.js +4 -1
- package/lib/pipe/github.js +26 -39
- package/lib/pipe/gitlab.js +5 -16
- package/lib/pipe/testomatio.js +138 -33
- package/lib/reporter.js +11 -2
- package/lib/utils/pipe_utils.js +135 -0
- package/lib/utils/utils.js +310 -0
- package/lib/xmlReader.js +132 -44
- package/package.json +9 -6
- package/lib/util.js +0 -184
package/Changelog.md
CHANGED
|
@@ -1,8 +1,106 @@
|
|
|
1
|
+
<!-- pending release updates -->
|
|
2
|
+
# 1.0.16.1
|
|
3
|
+
|
|
4
|
+
Renamed `TESTOMATIO_STACK_FILTER` to `TESTOMATIO_STACK_IGNORE`
|
|
5
|
+
|
|
6
|
+
# 1.0.16
|
|
7
|
+
|
|
8
|
+
* Addded [stack trace configuration](./docs/stacktrace.md) and documentation:
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
TESTOMATIO_STACK_IGNORE="tests/support/**.js" <actual-run-command>
|
|
12
|
+
```
|
|
13
|
+
* Jest: fixed reporting tests without a suite title
|
|
14
|
+
|
|
15
|
+
# 1.0.15
|
|
16
|
+
|
|
17
|
+
* Attach Run to Jira Issue via `TESTOMATIO_JIRA_ID` env variable:
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
TESTOMATIO_JIRA_ID=TST-12 <actual run command>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
* Mocha - removed requirement of TESTOMATIO API Key
|
|
24
|
+
|
|
25
|
+
# 1.0.14
|
|
26
|
+
|
|
27
|
+
* Execute tests by tag names. Use this filter to select tests associated with specific tags.
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
TESTOMATIO={API_KEY} npx start-test-run -c 'actual run command' --filter 'testomatio:tag-name=smoke'
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
* more instruction you can find in docs/pipes/testomatio.md
|
|
34
|
+
|
|
35
|
+
# 1.0.13
|
|
36
|
+
|
|
37
|
+
* JUnit improvements
|
|
38
|
+
* Match test from source code by adding Test ID as a comment:
|
|
39
|
+
|
|
40
|
+
```java
|
|
41
|
+
// @T8acca9eb
|
|
42
|
+
```
|
|
43
|
+
* Match test from output by adding Test ID as output:
|
|
44
|
+
|
|
45
|
+
```java
|
|
46
|
+
System.out.println("tid://@T8acca9eb");
|
|
47
|
+
```
|
|
48
|
+
* Support for suite before and after output
|
|
49
|
+
* Improved support for artifacts
|
|
50
|
+
|
|
51
|
+
# 1.0.12
|
|
52
|
+
|
|
53
|
+
& Logger refactoring by @olexandr13 in #208
|
|
54
|
+
* fix undefined logs by @olexandr13 in #210
|
|
55
|
+
|
|
56
|
+
# 1.0.11
|
|
57
|
+
|
|
58
|
+
* fix steps duplication for codecept report by @olexandr13 in #209
|
|
59
|
+
|
|
60
|
+
# 1.0.10
|
|
61
|
+
|
|
62
|
+
* Added `TESTOMATIO_PUBLISH=1` variable to automatically publish run report
|
|
63
|
+
|
|
64
|
+
# 1.0.9
|
|
65
|
+
|
|
66
|
+
* Support XUnit format
|
|
67
|
+
* Improved support for parametrized Java tests
|
|
68
|
+
|
|
69
|
+
# 1.0.8
|
|
70
|
+
|
|
71
|
+
* Fixed `Can't read push of undefined` when logging steps
|
|
72
|
+
|
|
73
|
+
# 1.0.6
|
|
74
|
+
|
|
75
|
+
* Testomat.io. Auto-detect current build url and report it to Testomat.io. Manually url can be set with `BUILD_URL` variable:
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
BUILD_URL=https://.... TESTOMATIO=apiKey <actual test command>
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
# 1.0.5
|
|
82
|
+
|
|
83
|
+
* Fix "create tests" params processing for testomatio pipe
|
|
84
|
+
|
|
85
|
+
# 1.0.4
|
|
86
|
+
|
|
87
|
+
* Fixed parallel run
|
|
88
|
+
|
|
89
|
+
# 1.0.3
|
|
90
|
+
|
|
91
|
+
* Fixed reporting parallel runs
|
|
92
|
+
|
|
1
93
|
# 1.0.0
|
|
2
94
|
|
|
3
|
-
<!-- pending release updates -->
|
|
4
95
|
|
|
5
|
-
* Added `TESTOMATIO_SHARED_RUN` option to use a shared run for parallel executions
|
|
96
|
+
* Added [`TESTOMATIO_SHARED_RUN` option](https://github.com/testomatio/reporter/blob/master/docs/pipes.md#reporting-parallel-execution-to-to-same-run) to use a shared run for parallel executions
|
|
97
|
+
* Reworked [documentation](https://github.com/testomatio/reporter/tree/master#readme).
|
|
98
|
+
* Added an option to obtain [S3 configuration](https://github.com/testomatio/reporter/blob/master/docs/artifacts.md#configuration) from Testomat.io
|
|
99
|
+
* Introduced [pipes](https://github.com/testomatio/reporter/blob/master/docs/pipes.md):
|
|
100
|
+
* GitHub
|
|
101
|
+
* GitLab
|
|
102
|
+
* CSV Pipe
|
|
103
|
+
|
|
6
104
|
|
|
7
105
|
# 0.7.6
|
|
8
106
|
|