beads/internal/gitlab
Ramos f271075976 Add unit tests for GitLab backend (Issue #10)
Improve test coverage from 82.3% to 92.2% for internal/gitlab package:

- types_test.go: Add tests for GetPriorityFromLabel, GetStatusFromLabel,
  GetTypeFromLabel helper functions (0% → 100%)
- mapping_test.go: Add tests for priorityToLabel (42.9% → 100%) and
  IssueLinksToDependencies edge cases (73.3% → 100%)
- client_test.go: Add error handling tests for UpdateIssue, GetIssueLinks,
  FetchIssueByIID, CreateIssueLink, CreateIssue, FetchIssuesSince

All 379 new lines of tests pass.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-01-31 00:01:45 -08:00
..
client.go Add review fixes: URL encoding, WithEndpoint, FetchIssueByIID, CreateIssueLink 2026-01-31 00:01:43 -08:00
client_test.go Add unit tests for GitLab backend (Issue #10) 2026-01-31 00:01:45 -08:00
mapping.go Implement GitLab to beads mapping (Issue #6) 2026-01-31 00:01:43 -08:00
mapping_test.go Add unit tests for GitLab backend (Issue #10) 2026-01-31 00:01:45 -08:00
types.go Fix code review issues: path-based IDs, ID collisions, warnings 2026-01-31 00:01:44 -08:00
types_test.go Add unit tests for GitLab backend (Issue #10) 2026-01-31 00:01:45 -08:00