mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 13:57:09 +01:00
Fix typo jUnit -> JUnit
This commit is contained in:
parent
16adfe9b7e
commit
6a5f75601b
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
|
@ -17,7 +17,7 @@ This [Github Action](https://github.com/features/actions) displays test results
|
|||
- Dart / [test](https://pub.dev/packages/test)
|
||||
- Flutter / [test](https://pub.dev/packages/test)
|
||||
- JavaScript / [JEST](https://jestjs.io/)
|
||||
- Java / [jUnit](https://junit.org/)
|
||||
- Java / [JUnit](https://junit.org/)
|
||||
|
||||
For more information see [Supported formats](#supported-formats) section.
|
||||
|
||||
|
|
@ -238,21 +238,21 @@ For more information see:
|
|||
<details>
|
||||
<summary>java-junit (Experimental)</summary>
|
||||
|
||||
Support for [jUnit](https://junit.org/) XML is experimental - should work but it was not extensively tested.
|
||||
Support for [JUnit](https://Junit.org/) XML is experimental - should work but it was not extensively tested.
|
||||
To have code annotations working properly it's required your directory structure matches package name.
|
||||
This is due to the fact Java stacktraces doesn't contains full path to the source file.
|
||||
Some heuristic was necessary to figure out mapping between line in stack trace and actual source file.
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>jest-junit</summary>
|
||||
<summary>jest-Junit</summary>
|
||||
|
||||
[JEST](https://jestjs.io/) testing framework support requires usage of [jest-junit](https://github.com/jest-community/jest-junit) reporter.
|
||||
It will create test results in junit XML format which can be then processed by this action.
|
||||
[JEST](https://jestjs.io/) testing framework support requires usage of [jest-Junit](https://github.com/jest-community/jest-Junit) reporter.
|
||||
It will create test results in Junit XML format which can be then processed by this action.
|
||||
You can use following example configuration in `package.json`:
|
||||
```json
|
||||
"scripts": {
|
||||
"test": "jest --ci --reporters=default --reporters=jest-junit"
|
||||
"test": "jest --ci --reporters=default --reporters=jest-Junit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"jest": "^26.5.3",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue