Add error-path unit tests for existing functions #15

Closed
opened 2026-02-02 10:01:24 +01:00 by qwc · 0 comments
Owner

Phase 3: Testing — Unit Tests

Many error branches untested: mount failures, script execution failures, JSON marshal errors, database corruption.

Tasks

  • Add negative test cases to existing test files

Files

  • backup_test.go
  • device_test.go
  • database_test.go
  • events_test.go
## Phase 3: Testing — Unit Tests Many error branches untested: mount failures, script execution failures, JSON marshal errors, database corruption. ### Tasks - Add negative test cases to existing test files ### Files - `backup_test.go` - `device_test.go` - `database_test.go` - `events_test.go`
qwc closed this issue 2026-02-02 16:17:42 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
qwc-open/backive#15
No description provided.