mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-04 13:37:56 +01:00
Merge eedd088b6d into 20823bb69a
This commit is contained in:
commit
29a2f22c83
11 changed files with 1255 additions and 0 deletions
24
__tests__/__outputs__/open-test-reporting-events.md
Normal file
24
__tests__/__outputs__/open-test-reporting-events.md
Normal file
|
|
@ -0,0 +1,24 @@
|
|||

|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[fixtures/open-test-reporting/events.xml](#user-content-r0)|4 ✅|1 ❌|1 ⚪|1s|
|
||||
## ❌ <a id="user-content-r0" href="#user-content-r0">fixtures/open-test-reporting/events.xml</a>
|
||||
**6** tests were completed in **1s** with **4** passed, **1** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[com.example.CalculatorTest](#user-content-r0s0)|2 ✅|1 ❌|1 ⚪|700ms|
|
||||
|[com.example.StringUtilsTest](#user-content-r0s1)|2 ✅|||400ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#user-content-r0s0">com.example.CalculatorTest</a>
|
||||
```
|
||||
✅ testAddition
|
||||
✅ testSubtraction
|
||||
❌ testDivision
|
||||
java.lang.ArithmeticException: Division by zero
|
||||
⚪ testMultiplication
|
||||
```
|
||||
### ✅ <a id="user-content-r0s1" href="#user-content-r0s1">com.example.StringUtilsTest</a>
|
||||
```
|
||||
TrimTests
|
||||
✅ testTrimLeft
|
||||
✅ testTrimRight
|
||||
```
|
||||
27
__tests__/__outputs__/open-test-reporting-hierarchy.md
Normal file
27
__tests__/__outputs__/open-test-reporting-hierarchy.md
Normal file
|
|
@ -0,0 +1,27 @@
|
|||

|
||||
|Report|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[fixtures/open-test-reporting/hierarchy.xml](#user-content-r0)|5 ✅|1 ❌|1 ⚪|4s|
|
||||
## ❌ <a id="user-content-r0" href="#user-content-r0">fixtures/open-test-reporting/hierarchy.xml</a>
|
||||
**7** tests were completed in **4s** with **5** passed, **1** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[com.example.EmptySuite](#user-content-r0s0)||||0ms|
|
||||
|[com.example.PaymentServiceTest](#user-content-r0s1)|3 ✅|1 ❌||3s|
|
||||
|[com.example.UserServiceTest](#user-content-r0s2)|2 ✅||1 ⚪|1s|
|
||||
### ❌ <a id="user-content-r0s1" href="#user-content-r0s1">com.example.PaymentServiceTest</a>
|
||||
```
|
||||
ValidationTests
|
||||
✅ testValidAmount
|
||||
✅ testInvalidAmount
|
||||
ProcessingTests
|
||||
✅ testSuccessfulPayment
|
||||
❌ testPaymentTimeout
|
||||
org.opentest4j.AssertionFailedError: Payment should complete within 500ms but took 700ms
|
||||
```
|
||||
### ✅ <a id="user-content-r0s2" href="#user-content-r0s2">com.example.UserServiceTest</a>
|
||||
```
|
||||
✅ testUserCreation
|
||||
✅ testUserDeletion
|
||||
⚪ testUserUpdate
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue