Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dorny/test-reporter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.7.0
Choose a base ref
...
head repository: dorny/test-reporter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.8.0
Choose a head ref

Commits on Oct 11, 2021

  1. Copy the full SHA
    d1e7a92 View commit details

Commits on Nov 30, 2021

  1. shortSummary const

    ldaneliukas committed Nov 30, 2021
    Copy the full SHA
    74d8fd6 View commit details

Commits on Oct 9, 2023

  1. add version npm script

    j-catania committed Oct 9, 2023
    Copy the full SHA
    4b7b789 View commit details
  2. 1.7.0

    j-catania committed Oct 9, 2023
    Copy the full SHA
    9b29e41 View commit details
  3. Merge pull request #296 from dorny/release/v1.7.0

    Release/v1.7.0
    j-catania authored Oct 9, 2023
    Copy the full SHA
    ededcdb View commit details
  4. CHANGELOG.md

    j-catania committed Oct 9, 2023
    Copy the full SHA
    62af365 View commit details
  5. Merge pull request #297 from dorny/release/v1.7.0

    CHANGELOG.md
    j-catania authored Oct 9, 2023
    Copy the full SHA
    214173a View commit details

Commits on Oct 16, 2023

  1. Bump @babel/traverse from 7.12.1 to 7.23.2 in /reports/jest

    Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.12.1 to 7.23.2.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/traverse"
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Oct 16, 2023
    Copy the full SHA
    817da85 View commit details

Commits on Oct 17, 2023

  1. Merge pull request #303 from dorny/dependabot/npm_and_yarn/reports/je…

    …st/babel/traverse-7.23.2
    
    Bump @babel/traverse from 7.12.1 to 7.23.2 in /reports/jest
    j-catania authored Oct 17, 2023
    Copy the full SHA
    87b5946 View commit details
  2. Bump @babel/traverse from 7.22.20 to 7.23.2

    Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.20 to 7.23.2.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/traverse"
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Oct 17, 2023
    Copy the full SHA
    08340ff View commit details

Commits on Nov 2, 2023

  1. Merge pull request #304 from dorny/dependabot/npm_and_yarn/babel/trav…

    …erse-7.23.2
    
    Bump @babel/traverse from 7.22.20 to 7.23.2
    j-catania authored Nov 2, 2023
    Copy the full SHA
    6a1c242 View commit details

Commits on Nov 7, 2023

  1. Update action.yml

    j-catania authored Nov 7, 2023
    Copy the full SHA
    6d7a9ad View commit details

Commits on Nov 8, 2023

  1. Copy the full SHA
    1c044b4 View commit details

Commits on Dec 9, 2023

  1. Merge pull request #317 from jozefizso/feature/swift-xunit

    Add `SwiftXunitParser` class based on `JavaJunitParser` for `swift-xunit` reporter
    dorny authored Dec 9, 2023
    Copy the full SHA
    ed05640 View commit details
  2. Merge pull request #315 from dorny/feature/node20

    Update to Node20
    dorny authored Dec 9, 2023
    Copy the full SHA
    be0e2e9 View commit details
  3. Apply code style fix

    dorny committed Dec 9, 2023
    Copy the full SHA
    62b89ea View commit details
  4. Merge pull request #331 from dorny/fix-build

    Fix build error
    dorny authored Dec 9, 2023
    Copy the full SHA
    601ab2b View commit details

Commits on Dec 13, 2023

  1. Copy the full SHA
    e091fad View commit details
  2. Merge pull request #332 from jozefizso/dev/node18_runtime

    Use NodeJS 18 LTS as default runtime
    j-catania authored Dec 13, 2023
    Copy the full SHA
    84909f3 View commit details
  3. Copy the full SHA
    71f6751 View commit details
  4. Copy the full SHA
    35f0c29 View commit details
  5. Update all development packages

    Updates snapshot files for the jest 29
    jozefizso committed Dec 13, 2023
    Copy the full SHA
    dd41adf View commit details
  6. Compile distribution code

    jozefizso committed Dec 13, 2023
    Copy the full SHA
    feda17a View commit details

Commits on Dec 15, 2023

  1. Copy the full SHA
    57cb273 View commit details

Commits on Dec 17, 2023

  1. Copy the full SHA
    b1ecc16 View commit details

Commits on Dec 18, 2023

  1. Copy the full SHA
    ddfa15d View commit details
  2. Copy the full SHA
    9e2e57e View commit details
  3. Escape <> characters in suite name

    Fixes: #235
    thanabodee-c authored and jozefizso committed Dec 18, 2023
    Copy the full SHA
    c192695 View commit details
  4. Copy the full SHA
    7aa575a View commit details
  5. Copy the full SHA
    d9ef69e View commit details

Commits on Jan 2, 2024

  1. Merge pull request #341 from dorny/feat/issue-tmpl

    Adding feature and bug template
    j-catania authored Jan 2, 2024
    Copy the full SHA
    08c81a1 View commit details

Commits on Jan 12, 2024

  1. Update check title and remove icon

    ldaneliukas authored and j-catania committed Jan 12, 2024
    Copy the full SHA
    4bb68ff View commit details
  2. shortSummary const

    ldaneliukas authored and j-catania committed Jan 12, 2024
    Copy the full SHA
    996dd3b View commit details
  3. Merge remote-tracking branch 'origin/check_status' into check_status

    # Conflicts:
    #	dist/index.js
    #	dist/index.js.map
    j-catania committed Jan 12, 2024
    Copy the full SHA
    24b216b View commit details
  4. update dist/index.js

    j-catania committed Jan 12, 2024
    Copy the full SHA
    aa82f53 View commit details
  5. Merge pull request #144 from ldaneliukas/check_status

    Update check title and remove icon
    j-catania authored Jan 12, 2024
    Copy the full SHA
    86a2010 View commit details

Commits on Jan 28, 2024

  1. Copy the full SHA
    5edc9e9 View commit details
  2. Update all packages

    jozefizso committed Jan 28, 2024
    Copy the full SHA
    5c92135 View commit details
  3. Copy the full SHA
    214929b View commit details
  4. Copy the full SHA
    eaa763f View commit details
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: 'bug'
assignees: 'dorny,dharmendrasha,j-catania'
---

## Describe the bug
A clear and concise description of what the bug is.

## To Reproduce
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

## Expected behavior
A clear and concise description of what you expected to happen.

## Screenshots
If applicable, add screenshots to help explain your problem.

## Additional context
Add any other context about the problem here.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Feature Request
about: Suggest a feature
title: ''
labels: 'enhancement'
assignees: 'dorny,dharmendrasha,j-catania'
---

## Describe

## Proposed solution

## Alternatives considered
6 changes: 3 additions & 3 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
@@ -23,10 +23,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set Node.js 16.x
uses: actions/setup-node@v3
- name: Set Node.js
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version-file: '.nvmrc'

- name: Install dependencies
run: npm ci
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -14,7 +14,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: node --version
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run build
- run: npm run format-check
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.7.0
v18.19.0
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# Changelog

## 1.8.0
* Add `SwiftXunitParser` class based on `JavaJunitParser` for `swift-xunit` reporter https://github.com/dorny/test-reporter/pull/317
* Use NodeJS 18 LTS as default runtime https://github.com/dorny/test-reporter/pull/332
* Escape `<>` characters in suite name https://github.com/dorny/test-reporter/pull/236
* Update actions runtime to Node20 https://github.com/dorny/test-reporter/pull/315
* Update check title and remove icon https://github.com/dorny/test-reporter/pull/144

## 1.7.0
* Fix #199: Use ✅ instead of ✔️ for better cross platform look by @petrdvorak in https://github.com/dorny/test-reporter/pull/200
* Verify content of dist/ folder matches build output by @dorny in https://github.com/dorny/test-reporter/pull/207
* Gracefully handle empty nested testsuite elements for JUnit. by @rvdlaarschot in https://github.com/dorny/test-reporter/pull/193
* Gracefully handle empty failure tags by @haudren-woven in https://github.com/dorny/test-reporter/pull/213
* Fix #208 - java-junit: show annotations on PR changed files by @atsu85 in https://github.com/dorny/test-reporter/pull/209
* Only report failure if fail-on-error is set by @trond-snekvik in https://github.com/dorny/test-reporter/pull/214
* Improve clarity on configuring for forkable repos by @abelbraaksma in https://github.com/dorny/test-reporter/pull/211
* Suppress "Processing test results from" log by @vasanthdharmaraj in https://github.com/dorny/test-reporter/pull/179
* Skip listing of files if error parsing is disabled by @dorny in https://github.com/dorny/test-reporter/pull/216
* Correct typo in docs by @tangowithfoxtrot in https://github.com/dorny/test-reporter/pull/254
* update dependencies by @j-catania in https://github.com/dorny/test-reporter/pull/269
* Add permissions to example yml files by @TurnrDev in https://github.com/dorny/test-reporter/pull/263
* add feature fail-on-empty by @gdams in https://github.com/dorny/test-reporter/pull/243
* Add dependabot configuration by @yeikel in https://github.com/dorny/test-reporter/pull/228
* Bump ws from 7.3.1 to 7.5.9 in /reports/jest by @dependabot in https://github.com/dorny/test-reporter/pull/265
* Bump actions/checkout from 2 to 4 by @dependabot in https://github.com/dorny/test-reporter/pull/279
* Add new output for url url html by @luisito666 in https://github.com/dorny/test-reporter/pull/242
* Update README.md by @IanMoroney in https://github.com/dorny/test-reporter/pull/158
* Update jest-Junit part of Readme by @ryancasburn-KAI in https://github.com/dorny/test-reporter/pull/176
* fix: default-valued fields are not mandatory by @TomerFi in https://github.com/dorny/test-reporter/pull/172
* Bump ansi-regex from 4.1.0 to 4.1.1 in /reports/jest by @dependabot in https://github.com/dorny/test-reporter/pull/278
* Bump decode-uri-component from 0.2.0 to 0.2.2 in /reports/jest by @dependabot in https://github.com/dorny/test-reporter/pull/276
* Bump minimist from 1.2.5 to 1.2.8 in /reports/jest by @dependabot in https://github.com/dorny/test-reporter/pull/275
* Bump qs from 6.5.2 to 6.5.3 in /reports/jest by @dependabot in https://github.com/dorny/test-reporter/pull/272
* Bump json5 from 2.1.3 to 2.2.3 in /reports/jest by @dependabot in https://github.com/dorny/test-reporter/pull/271
* Bump ansi-regex from 3.0.0 to 3.0.1 in /reports/mocha by @dependabot in https://github.com/dorny/test-reporter/pull/270
* declare 'url' and 'url_html' as action outputs by @micha-one in https://github.com/dorny/test-reporter/pull/287
* Avoid split on undefined by @cazou in https://github.com/dorny/test-reporter/pull/258

## v1.6.0
- [Update to node16 + recent versions of core and exec packages](https://github.com/dorny/test-reporter/pull/203)
- [Update all dependencies to latest versions](https://github.com/dorny/test-reporter/pull/186)
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -18,6 +18,7 @@ This [Github Action](https://github.com/features/actions) displays test results
- Flutter / [test](https://pub.dev/packages/test)
- Java / [JUnit](https://junit.org/)
- JavaScript / [JEST](https://jestjs.io/) / [Mocha](https://mochajs.org/)
- Swift / xUnit

For more information see [Supported formats](#supported-formats) section.

@@ -317,6 +318,12 @@ Mocha, unfortunately, doesn't have the option to store `json` output directly to
There is a work in progress to fix it: [mocha#4607](https://github.com/mochajs/mocha/pull/4607)
</details>

<details>
<summary>swift-xunit (Experimental)</summary>

Support for Swift test results in xUnit format is experimental - should work but it was not extensively tested.
</details>

## GitHub limitations

Unfortunately, there are some known issues and limitations caused by GitHub API:
10 changes: 10 additions & 0 deletions __tests__/__outputs__/jest-react-component-test-results.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
![Tests passed successfully](https://img.shields.io/badge/tests-1%20passed-success)
## ✅ <a id="user-content-r0" href="#r0">fixtures/external/jest/jest-react-component-test-results.xml</a>
**1** tests were completed in **1000ms** with **1** passed, **0** failed and **0** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[\<Component /\>](#r0s0)|1✅|||798ms|
### ✅ <a id="user-content-r0s0" href="#r0s0">\<Component /\></a>
```
✅ <Component /> should render properly
```
13 changes: 13 additions & 0 deletions __tests__/__outputs__/swift-xunit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
![Tests failed](https://img.shields.io/badge/tests-2%20passed%2C%201%20failed-critical)
## ❌ <a id="user-content-r0" href="#r0">fixtures/swift-xunit.xml</a>
**3** tests were completed in **220ms** with **2** passed, **1** failed and **0** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[TestResults](#r0s0)|2✅|1❌||220ms|
### ❌ <a id="user-content-r0s0" href="#r0s0">TestResults</a>
```
AcmeLibTests.AcmeLibTests
✅ test_always_pass
✅ test_always_skip
❌ test_always_fail
```
Loading