Increase tests coverage.

This commit is contained in:
2025-12-19 02:17:28 +00:00
parent 587cdab9a5
commit 4add030bed
15 changed files with 6421 additions and 6 deletions
+6 -5
View File
@@ -160,14 +160,15 @@ uninstall: stop-worker
rm -rf $(HOME)/.claude/plugins/marketplaces/claude-mnemonic
@echo "Uninstallation complete!"
# Run tests
# Run tests (with FTS5 support)
test: setup-libs
go test -v -race ./...
go test $(BUILD_TAGS) -v -race ./...
# Run tests with coverage
test-coverage:
go test -v -race -coverprofile=coverage.out ./...
# Run tests with coverage (with FTS5 support)
test-coverage: setup-libs
go test $(BUILD_TAGS) -v -race -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o coverage.html
@go tool cover -func=coverage.out | tail -1
# Run benchmarks
bench: