Skip to content

test: add comprehensive unit tests across 8 modules#76

Merged
MrMichou merged 3 commits intomainfrom
test/add-unit-tests
Mar 29, 2026
Merged

test: add comprehensive unit tests across 8 modules#76
MrMichou merged 3 commits intomainfrom
test/add-unit-tests

Conversation

@MrMichou
Copy link
Copy Markdown
Owner

Summary

  • Add 168 new unit tests across 8 modules that previously had zero or minimal coverage
  • Total test count goes from 89 to 257 (all passing)
  • Modules covered: config, gcp/http, gcp/auth, gcp/client, gcp/projects, resource/fetcher, theme, app sub-structs

Test plan

  • cargo test — 257 tests pass
  • cargo clippy — 0 warnings
  • cargo fmt --check — clean

🤖 Generated with Claude Code

mnicolet-ludia and others added 3 commits March 29, 2026 04:53
Add unit tests for modules that previously had zero or minimal test
coverage: config, gcp/http, gcp/auth, gcp/client, gcp/projects,
resource/fetcher, theme, and app sub-structs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Clippy requires #[cfg(test)] modules to be the last item in a file.
Also replace 3.14 with 2.718 to avoid clippy::approx_constant.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Use struct init syntax instead of field reassign after Default::default()
- Replace 2.718 (approx e) with 1.234 to avoid approx_constant lint

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@MrMichou MrMichou merged commit ff1b335 into main Mar 29, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants