List only failed tests

Fixes issue #142
This commit is contained in:
Siegfried Pammer 2022-03-06 19:00:25 +01:00 committed by Jozef Izso
parent a6b3e93884
commit 2312e637f3
Failed to extract signature
4 changed files with 187 additions and 1 deletions

View file

@ -0,0 +1,28 @@
![Tests failed](https://img.shields.io/badge/tests-5%20passed%2C%205%20failed%2C%201%20skipped-critical)
|Report|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[fixtures/dotnet-trx.trx](#user-content-r0)|5 ✅|5 ❌|1 ⚪|1s|
## ❌ <a id="user-content-r0" href="#user-content-r0">fixtures/dotnet-trx.trx</a>
**11** tests were completed in **1s** with **5** passed, **5** failed and **1** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[DotnetTests.XUnitTests.CalculatorTests](#user-content-r0s0)|5 ✅|5 ❌|1 ⚪|118ms|
### ❌ <a id="user-content-r0s0" href="#user-content-r0s0">DotnetTests.XUnitTests.CalculatorTests</a>
```
❌ Exception_In_TargetTest
System.DivideByZeroException : Attempted to divide by zero.
❌ Exception_In_Test
System.Exception : Test
❌ Failing_Test
Assert.Equal() Failure
Expected: 3
Actual: 2
❌ Is_Even_Number(i: 3)
Assert.True() Failure
Expected: True
Actual: False
❌ Should be even number(i: 3)
Assert.True() Failure
Expected: True
Actual: False
```