10 lines
372 B
Markdown
10 lines
372 B
Markdown
---
|
|
description: Generate test coverage report
|
|
---
|
|
|
|
Generate and display test coverage for RelSpec:
|
|
1. Run `go test -cover ./...` to get coverage percentage
|
|
2. If detailed coverage is needed, run `go test -coverprofile=coverage.out ./...` and then `go tool cover -html=coverage.out` to generate HTML report
|
|
|
|
Show coverage statistics and identify areas needing more tests.
|