Add go-unit test

This commit is contained in:
Cristian Dumitru 2022-10-18 16:36:41 -05:00
parent 8079cf8926
commit e0f4952e74
8 changed files with 184 additions and 32158 deletions

View file

@ -0,0 +1,19 @@
![Tests failed](https://img.shields.io/badge/tests-2%20passed%2C%201%20failed-critical)
## ❌ <a id="user-content-r0" href="#r0">fixtures/external/go/ginkgo-junit-report.xml</a>
**3** tests were completed in **10s** with **2** passed, **1** failed and **0** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[Suite1](#r0s0)|1✔|||2ms|
|[Suite2](#r0s1)|1✔|1❌||135ms|
### ✔️ <a id="user-content-r0s0" href="#r0s0">Suite1</a>
```
Suite1
✔️ [It] Should succeed
```
### ❌ <a id="user-content-r0s1" href="#r0s1">Suite2</a>
```
Suite2
✔️ [It] Should succeed
❌ [It] Should succeed, but errors
/package2/a_test.go:52
```

View file

@ -0,0 +1,22 @@
![Tests failed](https://img.shields.io/badge/tests-2%20passed%2C%202%20failed%2C%201%20skipped-critical)
## ❌ <a id="user-content-r0" href="#r0">fixtures/external/go/go-junit-report.xml</a>
**5** tests were completed in **NaNms** with **2** passed, **2** failed and **1** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[github.com/company/package1](#r0s0)||||0ms|
|[github.com/company/package2](#r0s1)|1✔|||482ms|
|[github.com/company/package3](#r0s2)|1✔|2❌|1✖|835ms|
### ✔️ <a id="user-content-r0s1" href="#r0s1">github.com/company/package2</a>
```
github.com/company/package2
✔️ TestPackage2
```
### ❌ <a id="user-content-r0s2" href="#r0s2">github.com/company/package3</a>
```
github.com/company/package3
❌ TestPackage3-1
Just error here
✔️ TestPackage3-2
✖️ TestPackage3-3
❌ TestPackage3-4
```