Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/docs/sidebar/development/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,16 @@ just go::unit # Run unit tests only
just go::unit-int # Run integration tests (requires running osapi)
```

Coverage is gated at 99.9%. `just test` fails if total coverage drops below it,
so a change that adds untested code fails locally and in CI:

```bash
just go::unit-cov-check # Report coverage and fail below the target
```

The target is declared in `.github/codecov.yml` and in the shared `go` justfile
module — change both together.

Unit tests should follow the Go convention of being located in a file named
`*_test.go` in the same package as the code being tested. Integration tests are
located in `test/integration/` and use a `//go:build integration` tag. They
Expand Down