@testomatio/reporter 1.2.0-beta → 1.2.0-beta-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 +13 -9
- package/lib/_ArtifactStorageOld.js +1 -1
- package/lib/adapter/codecept.js +59 -39
- 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 +18 -3
- package/lib/adapter/mocha.js +23 -23
- package/lib/adapter/playwright.js +18 -11
- package/lib/adapter/webdriver.js +1 -1
- package/lib/artifactStorage.js +2 -2
- package/lib/bin/reportXml.js +1 -0
- package/lib/bin/startTest.js +25 -4
- package/lib/client.js +102 -34
- package/lib/constants.js +7 -0
- package/lib/dataStorage.js +132 -72
- package/lib/junit-adapter/java.js +27 -9
- package/lib/logger.js +182 -164
- package/lib/pipe/csv.js +4 -1
- package/lib/pipe/github.js +24 -37
- package/lib/pipe/gitlab.js +5 -16
- package/lib/pipe/html.js +187 -0
- package/lib/pipe/index.js +2 -0
- package/lib/pipe/testomatio.js +138 -34
- package/lib/reporter.js +2 -1
- package/lib/template/real-data-example.js +47 -0
- package/lib/template/template.hbs +249 -0
- package/lib/template/testomatio.hbs +720 -0
- package/lib/utils/pipe_utils.js +135 -0
- package/lib/{util.js → utils/utils.js} +116 -10
- package/lib/xmlReader.js +132 -44
- package/package.json +10 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testomatio/reporter",
|
|
3
|
-
"version": "1.2.0-beta",
|
|
3
|
+
"version": "1.2.0-beta-1",
|
|
4
4
|
"description": "Testomatio Reporter Client",
|
|
5
5
|
"main": "./lib/reporter.js",
|
|
6
6
|
"typings": "typings/index.d.ts",
|
|
@@ -20,13 +20,15 @@
|
|
|
20
20
|
"debug": "^4.3.4",
|
|
21
21
|
"dotenv": "^16.0.1",
|
|
22
22
|
"fast-xml-parser": "^4.0.8",
|
|
23
|
-
"glob": "^
|
|
23
|
+
"glob": "^10.3",
|
|
24
|
+
"handlebars": "^4.7.8",
|
|
24
25
|
"has-flag": "^5.0.1",
|
|
25
26
|
"humanize-duration": "^3.27.3",
|
|
26
27
|
"is-valid-path": "^0.1.1",
|
|
27
28
|
"json-cycle": "^1.3.0",
|
|
28
29
|
"lodash.memoize": "^4.1.2",
|
|
29
30
|
"lodash.merge": "^4.6.2",
|
|
31
|
+
"minimatch": "^9.0.3",
|
|
30
32
|
"uuid": "^9.0.0"
|
|
31
33
|
},
|
|
32
34
|
"files": [
|
|
@@ -41,21 +43,22 @@
|
|
|
41
43
|
"lint:fix": "eslint lib --fix",
|
|
42
44
|
"test": "mocha tests/**",
|
|
43
45
|
"init": "cd ./tests/adapter/examples/cucumber && npm i",
|
|
44
|
-
"test:unit": "mocha tests",
|
|
45
46
|
"test:adapter": "mocha './tests/adapter/index.test.js'",
|
|
46
47
|
"test:pipes": "mocha './tests/pipes/*_test.js'",
|
|
47
48
|
"test:adapter:jest:example": "jest './tests/adapter/examples/jest/index.test.js' --config='./tests/adapter/examples/jest/jest.config.js'",
|
|
48
49
|
"test:adapter:mocha:example": "mocha './tests/adapter/examples/mocha/index.test.js' --config='./tests/adapter/examples/mocha/mocha.config.js'",
|
|
49
50
|
"test:adapter:jasmine:example": "./tests/adapter/examples/jasmine/passReporterOpts.sh && jasmine './tests/adapter/examples/jasmine/index.test.js' --reporter=./../../../lib/adapter/jasmine.js",
|
|
50
51
|
"test:adapter:codecept:example": "codeceptjs run --config='./tests/adapter/examples/codecept/codecept.conf.js'",
|
|
51
|
-
"test:adapter:cucumber:example": "cd ./tests/adapter/examples/cucumber && npx cucumber-js"
|
|
52
|
+
"test:adapter:cucumber:example": "cd ./tests/adapter/examples/cucumber && npx cucumber-js",
|
|
53
|
+
"test:storage": "npx mocha ./tests-storage/**"
|
|
52
54
|
},
|
|
53
55
|
"devDependencies": {
|
|
54
|
-
"@cucumber/cucumber": "^
|
|
56
|
+
"@cucumber/cucumber": "^9.3.0",
|
|
55
57
|
"@redocly/cli": "^1.0.0-beta.125",
|
|
56
58
|
"@wdio/reporter": "^7.16.13",
|
|
57
59
|
"chai": "^4.3.6",
|
|
58
|
-
"codeceptjs": "
|
|
60
|
+
"codeceptjs": "latest",
|
|
61
|
+
"cucumber": "^6.0.7",
|
|
59
62
|
"eslint": "^8.7.0",
|
|
60
63
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
61
64
|
"eslint-config-prettier": "^8.3.0",
|
|
@@ -64,6 +67,7 @@
|
|
|
64
67
|
"jest": "^27.4.7",
|
|
65
68
|
"mocha": "^9.2.0",
|
|
66
69
|
"mock-http-server": "^1.4.5",
|
|
70
|
+
"pino": "^8.15.0",
|
|
67
71
|
"prettier": "2.5.1",
|
|
68
72
|
"puppeteer": "^13.1.2"
|
|
69
73
|
},
|