Skip to content

Commit

Permalink
Add table with reports results if there are more test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Dorner committed Jan 28, 2021
1 parent 96e91aa commit c75a9dd
Show file tree
Hide file tree
Showing 7 changed files with 320 additions and 299 deletions.
34 changes: 13 additions & 21 deletions __tests__/__outputs__/dart-json.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,32 @@
![Tests failed](https://img.shields.io/badge/tests-1%20passed%2C%201%20skipped%2C%204%20failed-critical)

### fixtures/dart-json.json

![Tests failed](https://img.shields.io/badge/tests-1%20passed%2C%204%20failed%2C%201%20skipped-critical)
## <a id="user-content-r0" href="#r0">fixtures/dart-json.json</a> ❌
**6** tests were completed in **3.760s** with **1** passed, **4** failed and **1** skipped.

|Suite|Passed|Failed|Skipped|Time|
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[test\main_test.dart](#r0s0-test-maintest-dart)|1✔️|3❌||74ms|
|[test\second_test.dart](#r0s1-test-secondtest-dart)||1❌|1✖️|51ms|

# Test Suites

## <a id="user-content-r0s0-test-maintest-dart" href="#r0s0-test-maintest-dart">test\main_test.dart</a> ❌

### Test 1
|[test\main_test.dart](#r0s0)|1✔️|3❌||74ms|
|[test\second_test.dart](#r0s1)||1❌|1✖️|51ms|
### <a id="user-content-r0s0" href="#r0s0">test\main_test.dart</a> ❌
**4** tests were completed in **74ms** with **1** passed, **3** failed and **0** skipped.

**Test 1**
|Result|Test|Time|
|:---:|:---|---:|
|✔️|Test 1 Passing test|36ms|

### Test 1 Test 1.1

**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

**Test 2**
|Result|Test|Time|
|:---:|:---|---:|
||Test 2 Exception in test|12ms|

## <a id="user-content-r0s1-test-secondtest-dart" href="#r0s1-test-secondtest-dart">test\second_test.dart</a> ❌
### <a id="user-content-r0s1" href="#r0s1">test\second_test.dart</a> ❌
**2** tests were completed in **51ms** with **0** passed, **1** failed and **1** skipped.

|Result|Test|Time|
|:---:|:---|---:|
||Timeout test|37ms|
|✖️|Skipped test|14ms|
|✖️|Skipped test|14ms|
19 changes: 7 additions & 12 deletions __tests__/__outputs__/dotnet-trx.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
![Tests failed](https://img.shields.io/badge/tests-3%20passed%2C%201%20skipped%2C%203%20failed-critical)

### fixtures/dotnet-trx.trx

![Tests failed](https://img.shields.io/badge/tests-3%20passed%2C%203%20failed%2C%201%20skipped-critical)
## <a id="user-content-r0" href="#r0">fixtures/dotnet-trx.trx</a> ❌
**7** tests were completed in **1.061s** with **3** passed, **3** failed and **1** skipped.

|Suite|Passed|Failed|Skipped|Time|
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[DotnetTests.XUnitTests.CalculatorTests](#r0s0-DotnetTests-XUnitTests-CalculatorTests)|3✔️|3❌|1✖️|110ms|

# Test Suites

## <a id="user-content-r0s0-DotnetTests-XUnitTests-CalculatorTests" href="#r0s0-DotnetTests-XUnitTests-CalculatorTests">DotnetTests.XUnitTests.CalculatorTests</a> ❌
|[DotnetTests.XUnitTests.CalculatorTests](#r0s0)|3✔️|3❌|1✖️|110ms|
### <a id="user-content-r0s0" href="#r0s0">DotnetTests.XUnitTests.CalculatorTests</a> ❌
**7** tests were completed in **109.5761ms** with **3** passed, **3** failed and **1** skipped.

|Result|Test|Time|
|:---:|:---|---:|
Expand All @@ -20,4 +15,4 @@
|✔️|Passing_Test|0ms|
|✔️|Passing_Test_With_Name|0ms|
|✖️|Skipped_Test|1ms|
|✔️|Timeout_Test|102ms|
|✔️|Timeout_Test|102ms|
9 changes: 3 additions & 6 deletions __tests__/__outputs__/fluent-validation-test-results.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
![Tests passed successfully](https://img.shields.io/badge/tests-803%20passed%2C%201%20skipped-success)

### fixtures/external/FluentValidation.Tests.trx

## <a id="user-content-r0" href="#r0">fixtures/external/FluentValidation.Tests.trx</a> ✔️
**804** tests were completed in **4.480s** with **803** passed, **0** failed and **1** skipped.

|Suite|Passed|Failed|Skipped|Time|
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|FluentValidation.Tests.AbstractValidatorTester|35✔️|||12ms|
|FluentValidation.Tests.AccessorCacheTests|4✔️||1✖️|4ms|
Expand Down Expand Up @@ -53,7 +50,7 @@
|FluentValidation.Tests.PropertyChainTests|7✔️|||1ms|
|FluentValidation.Tests.RegularExpressionValidatorTests|15✔️|||6ms|
|FluentValidation.Tests.RuleBuilderTests|29✔️|||96ms|
|FluentValidation.Tests.RuleDependencyTests|14✔️|||2511ms|
|FluentValidation.Tests.RuleDependencyTests|14✔️|||2.511s|
|FluentValidation.Tests.RulesetTests|21✔️|||14ms|
|FluentValidation.Tests.ScalePrecisionValidatorTests|6✔️|||4ms|
|FluentValidation.Tests.SharedConditionTests|42✔️|||42ms|
Expand Down
34 changes: 13 additions & 21 deletions __tests__/__outputs__/jest-junit.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,32 @@
![Tests failed](https://img.shields.io/badge/tests-1%20passed%2C%201%20skipped%2C%204%20failed-critical)

### fixtures/jest-junit.xml

![Tests failed](https://img.shields.io/badge/tests-1%20passed%2C%204%20failed%2C%201%20skipped-critical)
## <a id="user-content-r0" href="#r0">fixtures/jest-junit.xml</a> ❌
**6** tests were completed in **1.360s** with **1** passed, **4** failed and **1** skipped.

|Suite|Passed|Failed|Skipped|Time|
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[__tests__\main.test.js](#r0s0-tests-main-test-js)|1✔️|3❌||486ms|
|[__tests__\second.test.js](#r0s1-tests-second-test-js)||1❌|1✖️|82ms|

# Test Suites

## <a id="user-content-r0s0-tests-main-test-js" href="#r0s0-tests-main-test-js">__tests__\main.test.js</a> ❌

### Test 1
|[__tests__\main.test.js](#r0s0)|1✔️|3❌||486ms|
|[__tests__\second.test.js](#r0s1)||1❌|1✖️|82ms|
### <a id="user-content-r0s0" href="#r0s0">__tests__\main.test.js</a> ❌
**4** tests were completed in **486ms** with **1** passed, **3** failed and **0** skipped.

**Test 1**
|Result|Test|Time|
|:---:|:---|---:|
|✔️|Passing test|1ms|

### Test 1 › Test 1.1

**Test 1 › Test 1.1**
|Result|Test|Time|
|:---:|:---|---:|
||Failing test|2ms|
||Exception in target unit|0ms|

### Test 2

**Test 2**
|Result|Test|Time|
|:---:|:---|---:|
||Exception in test|0ms|

## <a id="user-content-r0s1-tests-second-test-js" href="#r0s1-tests-second-test-js">__tests__\second.test.js</a> ❌
### <a id="user-content-r0s1" href="#r0s1">__tests__\second.test.js</a> ❌
**2** tests were completed in **82ms** with **0** passed, **1** failed and **1** skipped.

|Result|Test|Time|
|:---:|:---|---:|
||Timeout test|4ms|
|✖️|Skipped test|0ms|
|✖️|Skipped test|0ms|
Loading

0 comments on commit c75a9dd

Please sign in to comment.