Add SwiftXunitParser class based on JavaJunitParser for swift-xunit reporter

This commit is contained in:
Jozef Izso 2023-11-08 15:59:52 +01:00
parent 6a1c2425d8
commit 1c044b4aef
8 changed files with 122 additions and 0 deletions

View file

@ -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: