mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 06:17:10 +01:00
Support parsing multiple reports
This commit is contained in:
parent
659bb4fff3
commit
c48c07640f
15 changed files with 219 additions and 74 deletions
38
__tests__/__outputs__/dart-json.md
Normal file
38
__tests__/__outputs__/dart-json.md
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
### fixtures\dart-json.json
|
||||
|
||||
**6** tests were completed in **3.760s** with **1** passed, **1** skipped and **4** failed.
|
||||
|
||||
| Result | Suite | Tests | Time | Passed ✔️ | Skipped ✖️ | Failed ❌ |
|
||||
| :---: | :--- | ---: | ---: | ---: | ---: | ---: |
|
||||
| ❌ | [test\main_test.dart](#ts-0-test-maintest-dart) | 4 | 74ms | 1 | 0 | 3 |
|
||||
| ❌ | [test\second_test.dart](#ts-1-test-secondtest-dart) | 2 | 51ms | 0 | 1 | 1 |
|
||||
|
||||
# Test Suites
|
||||
|
||||
## <a id="user-content-ts-0-test-maintest-dart" href="#ts-0-test-maintest-dart">test\main_test.dart</a> ❌
|
||||
|
||||
### Test 1
|
||||
|
||||
| Result | Test | Time |
|
||||
| :---: | :--- | ---: |
|
||||
| ✔️ | Test 1 Passing test | 36ms |
|
||||
|
||||
### Test 1 Test 1.1
|
||||
|
||||
| Result | Test | Time |
|
||||
| :---: | :--- | ---: |
|
||||
| ❌ | Test 1 Test 1.1 Failing test | 20ms |
|
||||
| ❌ | Test 1 Test 1.1 Exception in target unit | 6ms |
|
||||
|
||||
### Test 2
|
||||
|
||||
| Result | Test | Time |
|
||||
| :---: | :--- | ---: |
|
||||
| ❌ | Test 2 Exception in test | 12ms |
|
||||
|
||||
## <a id="user-content-ts-1-test-secondtest-dart" href="#ts-1-test-secondtest-dart">test\second_test.dart</a> ❌
|
||||
|
||||
| Result | Test | Time |
|
||||
| :---: | :--- | ---: |
|
||||
| ❌ | Timeout test | 37ms |
|
||||
| ✖️ | Skipped test | 14ms |
|
||||
21
__tests__/__outputs__/dotnet-trx.md
Normal file
21
__tests__/__outputs__/dotnet-trx.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
### fixtures\dotnet-trx.trx
|
||||
|
||||
**7** tests were completed in **1.061s** with **3** passed, **1** skipped and **3** failed.
|
||||
|
||||
| Result | Suite | Tests | Time | Passed ✔️ | Skipped ✖️ | Failed ❌ |
|
||||
| :---: | :--- | ---: | ---: | ---: | ---: | ---: |
|
||||
| ❌ | [DotnetTests.XUnitTests.CalculatorTests](#ts-0-DotnetTests-XUnitTests-CalculatorTests) | 7 | 109.5761ms | 3 | 1 | 3 |
|
||||
|
||||
# Test Suites
|
||||
|
||||
## <a id="user-content-ts-0-DotnetTests-XUnitTests-CalculatorTests" href="#ts-0-DotnetTests-XUnitTests-CalculatorTests">DotnetTests.XUnitTests.CalculatorTests</a> ❌
|
||||
|
||||
| Result | Test | Time |
|
||||
| :---: | :--- | ---: |
|
||||
| ❌ | Exception_In_TargetTest | 0.4975ms |
|
||||
| ❌ | Exception_In_Test | 2.2728ms |
|
||||
| ❌ | Failing_Test | 3.2953ms |
|
||||
| ✔️ | Passing_Test | 0.1254ms |
|
||||
| ✔️ | Passing_Test_With_Name | 0.103ms |
|
||||
| ✖️ | Skipped_Test | 1ms |
|
||||
| ✔️ | Timeout_Test | 102.2821ms |
|
||||
38
__tests__/__outputs__/jest-junit.md
Normal file
38
__tests__/__outputs__/jest-junit.md
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
### fixtures\jest-junit.xml
|
||||
|
||||
**6** tests were completed in **1.360s** with **1** passed, **1** skipped and **4** failed.
|
||||
|
||||
| Result | Suite | Tests | Time | Passed ✔️ | Skipped ✖️ | Failed ❌ |
|
||||
| :---: | :--- | ---: | ---: | ---: | ---: | ---: |
|
||||
| ❌ | [__tests__\main.test.js](#ts-0-tests-main-test-js) | 4 | 486ms | 1 | 0 | 3 |
|
||||
| ❌ | [__tests__\second.test.js](#ts-1-tests-second-test-js) | 2 | 82ms | 0 | 1 | 1 |
|
||||
|
||||
# Test Suites
|
||||
|
||||
## <a id="user-content-ts-0-tests-main-test-js" href="#ts-0-tests-main-test-js">__tests__\main.test.js</a> ❌
|
||||
|
||||
### Test 1
|
||||
|
||||
| Result | Test | Time |
|
||||
| :---: | :--- | ---: |
|
||||
| ✔️ | Passing test | 1ms |
|
||||
|
||||
### Test 1 › Test 1.1
|
||||
|
||||
| Result | Test | Time |
|
||||
| :---: | :--- | ---: |
|
||||
| ❌ | Failing test | 2ms |
|
||||
| ❌ | Exception in target unit | 0ms |
|
||||
|
||||
### Test 2
|
||||
|
||||
| Result | Test | Time |
|
||||
| :---: | :--- | ---: |
|
||||
| ❌ | Exception in test | 0ms |
|
||||
|
||||
## <a id="user-content-ts-1-tests-second-test-js" href="#ts-1-tests-second-test-js">__tests__\second.test.js</a> ❌
|
||||
|
||||
| Result | Test | Time |
|
||||
| :---: | :--- | ---: |
|
||||
| ❌ | Timeout test | 4ms |
|
||||
| ✖️ | Skipped test | 0ms |
|
||||
Loading…
Add table
Add a link
Reference in a new issue