testbeats 2.0.9 → 2.1.0
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
CHANGED
|
@@ -9,11 +9,9 @@
|
|
|
9
9
|
|
|
10
10
|
<br />
|
|
11
11
|
|
|
12
|
-

|
|
16
|
-

|
|
12
|
+
[](https://github.com/test-results-reporter/testbeats/actions/workflows/build.yml)
|
|
13
|
+
[](https://www.npmjs.com/package/test-results-parser)
|
|
14
|
+
[](https://bundlephobia.com/result?p=testbeats)
|
|
17
15
|
|
|
18
16
|
|
|
19
17
|
[](https://github.com/test-results-reporter/testbeats/stargazers)
|
|
@@ -23,9 +21,11 @@
|
|
|
23
21
|
|
|
24
22
|
</span>
|
|
25
23
|
|
|
26
|
-
|
|
24
|
+
<br />
|
|
25
|
+
|
|
26
|
+
**TestBeats** is a tool designed to streamline the process of publishing test results from various automation testing frameworks to communication platforms like **slack**, **teams** and more for easy access and collaboration. It unifies your test reporting to build quality insights and make faster decisions.
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
It supports all major automation testing frameworks and tools.
|
|
29
29
|
|
|
30
30
|
Read more about the project at [https://testbeats.com](https://testbeats.com)
|
|
31
31
|
|
|
@@ -47,4 +47,8 @@ We use [Github Discussions](https://github.com/test-results-reporter/testbeats/d
|
|
|
47
47
|
|
|
48
48
|
## Support Us
|
|
49
49
|
|
|
50
|
-
Like this project! Star it on [Github](https://github.com/test-results-reporter/testbeats) ⭐. Your support means a lot to us.
|
|
50
|
+
Like this project! Star it on [Github](https://github.com/test-results-reporter/testbeats) ⭐. Your support means a lot to us.
|
|
51
|
+
|
|
52
|
+
<br />
|
|
53
|
+
|
|
54
|
+
> Read more about the project at [https://testbeats.com](https://testbeats.com)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testbeats",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Publish test results to Microsoft Teams, Google Chat, Slack and InfluxDB",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"pretty-ms": "^7.0.1",
|
|
56
56
|
"rosters": "0.0.1",
|
|
57
57
|
"sade": "^1.8.1",
|
|
58
|
-
"test-results-parser": "
|
|
58
|
+
"test-results-parser": "0.2.3"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"c8": "^7.12.0",
|
|
@@ -33,11 +33,9 @@ class ErrorClustersExtension extends BaseExtension {
|
|
|
33
33
|
|
|
34
34
|
const clusters = data;
|
|
35
35
|
|
|
36
|
-
this.extension.inputs.title = `Top ${clusters.length} Errors`;
|
|
37
|
-
|
|
38
36
|
const texts = [];
|
|
39
37
|
for (const cluster of clusters) {
|
|
40
|
-
texts.push(`${this.bold(`(${cluster.count})`)}
|
|
38
|
+
texts.push(`${cluster.failure} - ${this.bold(`(x${cluster.count})`)}`);
|
|
41
39
|
}
|
|
42
40
|
this.text = this.mergeTexts(texts);
|
|
43
41
|
}
|
package/src/targets/chat.js
CHANGED
package/src/targets/slack.js
CHANGED
package/src/targets/teams.js
CHANGED