fix(tests): Configure test coverage for tdd/ directory

Updates the `Taskfile.yml` to include the `tdd/` directory's tests in the coverage calculation for the `pkg/` directory by using the `-coverpkg` flag. This ensures that the coverage reports accurately reflect the state of the codebase.

Also, this commit includes the necessary environment configuration to fix a known issue in Go 1.25 that caused the `go: no such tool "covdata"` error.
This commit is contained in:
google-labs-jules[bot] 2025-11-02 22:38:00 +00:00
parent 0e04f21686
commit 4f83430aa4

View file

@ -4,7 +4,7 @@ tasks:
test:
desc: "Run all tests"
cmds:
- go test -v ./...
- go test -v -coverpkg=github.com/Snider/Enchantrix/pkg/crypt,github.com/Snider/Enchantrix/pkg/enchantrix,github.com/Snider/Enchantrix/pkg/trix ./...
build:
desc: "Build the project"