Skip to content

Increase test coverage to 86%

Praveena Veeranki requested to merge tests/suma-coverage into feature-final

Summary

  • Added comprehensive tests for user_profile/ module (100% coverage)
  • Added comprehensive tests for batch_mode/ module
  • Created new test files for modes with missing coverage
  • Fixed linting issues (ruff checks)
  • 386 tests passing

Coverage Summary

Module Coverage
user_profile/* 100%
batch_mode/* 100%
modes/bad_issue.py 100%
modes/bad_mrs_batch.py 100%
Overall 86%

Test Results

  • 386 tests passing
  • 2 skipped (async loop conflicts with nest_asyncio)

Notes

Some files like modes/team_leaderboard.py and gitlab_utils/client.py have complex async/UI code that would require source refactoring to achieve 100% coverage. The current 86% is a significant improvement from the initial state.

Merge request reports

Loading