@testream/junit-reporter 1.2.2 → 1.2.3

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 +32 -6
  2. package/package.json +15 -7
package/README.md CHANGED
@@ -1,8 +1,17 @@
1
- # @testream/junit-reporter
1
+ # @testream/junit-reporter: JUnit XML test reporting for Jira
2
2
 
3
- Run JUnit XML conversion and send the results from your codebase to Jira via Testream.
3
+ `@testream/junit-reporter` converts JUnit XML to CTRF and publishes the results to Testream as durable, Jira-visible test evidence. It works with Maven, Gradle, Java, and other tools that emit compatible JUnit XML without requiring teams to recreate automated tests as manual Jira cases.
4
4
 
5
- ## CI Example (GitHub Actions)
5
+ ## What the reporter sends to Testream and Jira
6
+
7
+ - Passed, failed, skipped, and timed test results from JUnit XML
8
+ - Failure messages, stack traces, duration, and suite hierarchy
9
+ - Branch, commit, build, environment, and CI metadata
10
+ - Suite changes and historical trends for Jira and release reviews
11
+
12
+ The original framework remains the execution source. Testream provides a consistent evidence model around the XML already produced by the pipeline.
13
+
14
+ ## Install and run in CI
6
15
 
7
16
  ```yaml
8
17
  - uses: actions/setup-java@v4
@@ -24,7 +33,24 @@ Run JUnit XML conversion and send the results from your codebase to Jira via Tes
24
33
  --fail-on-error
25
34
  ```
26
35
 
27
- By default, `testream-junit` reads JUnit XML from `target/surefire-reports/TEST-*.xml`.
28
- Use `--junit-path` only if your reports are in a different location.
36
+ By default, `testream-junit` reads JUnit XML from `target/surefire-reports/TEST-*.xml`. Use `--junit-path` when Maven, Gradle, or another compatible test tool writes reports elsewhere.
37
+
38
+ ## JUnit XML evidence in CI/CD
39
+
40
+ Store `TESTREAM_API_KEY` as a protected secret. The command works in GitHub Actions, GitLab CI/CD, Azure Pipelines, Jenkins, and other command-based CI systems. Testream converts and publishes the report after the framework finishes.
41
+
42
+ ## Frequently asked questions
43
+
44
+ ### Do we need to recreate automated tests as manual Jira cases?
45
+
46
+ No. The framework that generated the JUnit XML remains the execution source. Testream adds Jira reporting without duplicate manual cases.
47
+
48
+ ### Is this limited to Java or JUnit itself?
49
+
50
+ No. It accepts compatible JUnit XML from Maven, Gradle, Java frameworks, and other test tools that emit the same report format.
51
+
52
+ ## Official Testream resources
29
53
 
30
- For CLI options and CI examples, see https://docs.testream.app/reporters/junit.
54
+ - [JUnit Jira integration](https://testream.app/junit-jira-integration)
55
+ - [Complete JUnit reporter setup guide](https://docs.testream.app/reporters/junit)
56
+ - [Install Testream – Automated Test Management for Jira](https://marketplace.atlassian.com/3048460704)
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@testream/junit-reporter",
3
- "version": "1.2.2",
4
- "description": "CLI and library to convert JUnit XML to CTRF and upload results to Testream",
3
+ "version": "1.2.3",
4
+ "description": "Convert JUnit XML from Maven, Gradle, and compatible tools to CTRF and publish results to Testream and Jira.",
5
+ "homepage": "https://testream.app/junit-jira-integration",
5
6
  "main": "dist/index.js",
6
7
  "types": "dist/index.d.ts",
7
8
  "bin": {
@@ -23,13 +24,20 @@
23
24
  "url": "git+https://github.com/testream/docs.git"
24
25
  },
25
26
  "keywords": [
27
+ "testream",
26
28
  "junit",
27
- "ctrf",
28
- "reporter",
29
- "testing",
29
+ "junit-reporter",
30
+ "junit-jira",
31
+ "junit-xml",
32
+ "java",
33
+ "maven",
34
+ "gradle",
35
+ "jira",
30
36
  "test-management",
31
- "test-results",
32
- "jira"
37
+ "automated-test-management",
38
+ "test-reporting",
39
+ "ci-cd",
40
+ "ctrf"
33
41
  ],
34
42
  "author": "Testream",
35
43
  "license": "SEE LICENSE IN LICENSE",