test: database and item CRUD test coverage #75
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ref:
docs/ROADMAP.md§ Appendix B / 1.4 Unit Test SuiteExpand test coverage for the database layer. Existing tests in
internal/db/items_test.gocover basics (10 tests) but are missing coverage for:Existing test files:
internal/db/items_test.go(10 tests, 272 lines)internal/db/relationships_test.go(10 tests, 278 lines)internal/db/projects_test.go(5 tests, 119 lines)internal/db/helpers_test.go(1 test, 15 lines)Goal: Increase db package test coverage to cover all exported functions.