nao1215 / spectest

A simple and extensible behavioural testing library for Go. You can use api test to simplify REST API, HTTP handler and e2e tests.
MIT License
37 stars 1 forks source link

Add go test wrapper #212

Closed nao1215 closed 11 months ago

github-actions[bot] commented 11 months ago

Code Metrics Report

:no_entry_sign: Code coverage is 79.6%. the condition in the coverage.acceptable: section is not met (80%)

main (8fa609a) #212 (5efe358) +/-
Coverage 81.1% 79.6% -1.5%
Test Execution Time 4s 21s +17s
Details ``` diff | | main (8fa609a) | #212 (5efe358) | +/- | |---------------------|----------------|----------------|-------| - | Coverage | 81.1% | 79.6% | -1.5% | | Files | 33 | 33 | 0 | | Lines | 1924 | 2038 | +114 | + | Covered | 1561 | 1622 | +61 | - | Test Execution Time | 4s | 21s | +17s | ```

Code coverage of files in pull request scope (28.7% → 39.1%)

Files Coverage +/-
assert.go 22.4% 0.0%
cmd/spectest/sub/root.go 58.3% -41.7%

Reported by octocov

github-actions[bot] commented 11 months ago

Code Metrics Report

main (8fa609a) #212 (43b1412) +/-
Coverage 81.1% 79.4% -1.7%
Test Execution Time 4s 8s +4s
Details ``` diff | | main (8fa609a) | #212 (43b1412) | +/- | |---------------------|----------------|----------------|-------| - | Coverage | 81.1% | 79.4% | -1.7% | | Files | 33 | 33 | 0 | | Lines | 1924 | 2041 | +117 | + | Covered | 1561 | 1621 | +60 | - | Test Execution Time | 4s | 8s | +4s | ```

Code coverage of files in pull request scope (28.7% → 38.3%)

Files Coverage +/-
assert.go 22.4% 0.0%
cmd/spectest/sub/root.go 56.2% -43.8%

Reported by octocov

github-actions[bot] commented 11 months ago

Code Metrics Report

main (8fa609a) #212 (43f6888) +/-
Coverage 81.1% 79.5% -1.7%
Test Execution Time 4s 10s +6s
Details ``` diff | | main (8fa609a) | #212 (43f6888) | +/- | |---------------------|----------------|----------------|-------| - | Coverage | 81.1% | 79.5% | -1.7% | | Files | 33 | 33 | 0 | | Lines | 1924 | 2041 | +117 | + | Covered | 1561 | 1622 | +61 | - | Test Execution Time | 4s | 10s | +6s | ```

Code coverage of files in pull request scope (28.7% → 38.6%)

Files Coverage +/-
assert.go 22.4% 0.0%
cmd/spectest/sub/root.go 56.9% -43.1%

Reported by octocov