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

Introduce spectest command #149

Closed nao1215 closed 1 year ago

github-actions[bot] commented 1 year ago

Code Metrics Report

main (c032179) #149 (8e21a07) +/-
Coverage 81.2% 81.2% 0.0%
Test Execution Time 9s 12s +3s
Details ``` diff | | main (c032179) | #149 (8e21a07) | +/- | |---------------------|----------------|----------------|------| | Coverage | 81.2% | 81.2% | 0.0% | | Files | 28 | 28 | 0 | | Lines | 1820 | 1820 | 0 | | Covered | 1477 | 1477 | 0 | - | Test Execution Time | 9s | 12s | +3s | ```

Reported by octocov

github-actions[bot] commented 1 year ago

Code Metrics Report

main (c032179) #149 (d416fb2) +/-
Coverage 81.2% 81.3% +0.1%
Test Execution Time 9s 8s -1s
Details ``` diff | | main (c032179) | #149 (d416fb2) | +/- | |---------------------|----------------|----------------|-------| + | Coverage | 81.2% | 81.3% | +0.1% | | Files | 28 | 32 | +4 | | Lines | 1820 | 1857 | +37 | + | Covered | 1477 | 1509 | +32 | + | Test Execution Time | 9s | 8s | -1s | ```

Code coverage of files in pull request scope (0.0% → 86.5%)

Files Coverage +/-
cmd/spectest/main.go 100.0% +100.0%
cmd/spectest/sub/bug_report.go 77.3% +77.3%
cmd/spectest/sub/root.go 100.0% +100.0%
cmd/spectest/sub/version.go 100.0% +100.0%

Reported by octocov

github-actions[bot] commented 1 year ago

Code Metrics Report

main (c032179) #149 (d2129b6) +/-
Coverage 81.2% 81.3% +0.1%
Test Execution Time 9s 10s +1s
Details ``` diff | | main (c032179) | #149 (d2129b6) | +/- | |---------------------|----------------|----------------|-------| + | Coverage | 81.2% | 81.3% | +0.1% | | Files | 28 | 32 | +4 | | Lines | 1820 | 1857 | +37 | + | Covered | 1477 | 1509 | +32 | - | Test Execution Time | 9s | 10s | +1s | ```

Code coverage of files in pull request scope (0.0% → 86.5%)

Files Coverage +/-
cmd/spectest/main.go 100.0% +100.0%
cmd/spectest/sub/bug_report.go 77.3% +77.3%
cmd/spectest/sub/root.go 100.0% +100.0%
cmd/spectest/sub/version.go 100.0% +100.0%

Reported by octocov

github-actions[bot] commented 1 year ago

Code Metrics Report

main (c032179) #149 (8185403) +/-
Coverage 81.2% 81.3% +0.1%
Test Execution Time 9s 13s +4s
Details ``` diff | | main (c032179) | #149 (8185403) | +/- | |---------------------|----------------|----------------|-------| + | Coverage | 81.2% | 81.3% | +0.1% | | Files | 28 | 32 | +4 | | Lines | 1820 | 1857 | +37 | + | Covered | 1477 | 1509 | +32 | - | Test Execution Time | 9s | 13s | +4s | ```

Code coverage of files in pull request scope (0.0% → 86.5%)

Files Coverage +/-
cmd/spectest/main.go 100.0% +100.0%
cmd/spectest/sub/bug_report.go 77.3% +77.3%
cmd/spectest/sub/root.go 100.0% +100.0%
cmd/spectest/sub/version.go 100.0% +100.0%

Reported by octocov