Skip to content

Conversation

@twaugh
Copy link
Owner

@twaugh twaugh commented Nov 22, 2025

Moved all tests from tests/unit/test_config_wizard.py into tests/unit/wizard/test_wizard.py to maintain a cleaner, more modular test structure.

Changes:

  • Deleted tests/unit/test_config_wizard.py (262 lines, 5 tests)
  • Added to tests/unit/wizard/test_wizard.py (290 lines, 5 tests)
    • TestConfigModelWithLLMProviders (3 tests)
    • TestConfigureOllamaEndpointModelPairing (2 tests)
  • Updated specs/003-setup-wizard/tasks.md to reflect new test location

Test Coverage Preserved:

  • All 5 tests from test_config_wizard.py successfully migrated
  • All 197 wizard-related tests pass (57 unit + 140 integration)
  • No test coverage lost in consolidation

Rationale:

  • Reduces test file fragmentation
  • Maintains clean separation: unit tests in wizard/, integration in integration/
  • Groups related wizard orchestration tests together
  • Keeps modular structure for validators, prompts, providers

Assisted-by: Claude Code

Moved all tests from tests/unit/test_config_wizard.py into
tests/unit/wizard/test_wizard.py to maintain a cleaner, more modular
test structure.

Changes:
- Deleted tests/unit/test_config_wizard.py (262 lines, 5 tests)
- Added to tests/unit/wizard/test_wizard.py (290 lines, 5 tests)
  - TestConfigModelWithLLMProviders (3 tests)
  - TestConfigureOllamaEndpointModelPairing (2 tests)
- Updated specs/003-setup-wizard/tasks.md to reflect new test location

Test Coverage Preserved:
- All 5 tests from test_config_wizard.py successfully migrated
- All 197 wizard-related tests pass (57 unit + 140 integration)
- No test coverage lost in consolidation

Rationale:
- Reduces test file fragmentation
- Maintains clean separation: unit tests in wizard/, integration in
  integration/
- Groups related wizard orchestration tests together
- Keeps modular structure for validators, prompts, providers

Assisted-by: Claude Code
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.61%. Comparing base (2e22f41) to head (88242bd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #33   +/-   ##
=======================================
  Coverage   84.61%   84.61%           
=======================================
  Files          48       48           
  Lines        5083     5083           
=======================================
  Hits         4301     4301           
  Misses        782      782           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@twaugh twaugh merged commit a727fb3 into main Nov 22, 2025
1 check passed
@twaugh twaugh deleted the tests-consolidation branch November 22, 2025 16:03
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.

3 participants