Add comprehensive Pytest unit test suite and increase coverage after master sync for MAIA toolkit#77
Add comprehensive Pytest unit test suite and increase coverage after master sync for MAIA toolkit#77Copilot wants to merge 14 commits into
Conversation
…ules Co-authored-by: SimoneBendazzoli93 <25175838+SimoneBendazzoli93@users.noreply.github.com>
Co-authored-by: SimoneBendazzoli93 <25175838+SimoneBendazzoli93@users.noreply.github.com>
…unction coverage Co-authored-by: SimoneBendazzoli93 <25175838+SimoneBendazzoli93@users.noreply.github.com>
…tests-with-pytest
…bility logic in dashboard_utils.py - Added new dependencies including flake8, black, and pytest to setup.cfg for improved code quality and testing. - Refactored GPU availability checking logic in dashboard_utils.py to enhance readability and efficiency by using list comprehensions. - Updated test cases in test_dashboard_utils.py to reflect changes in GPU availability logic and ensure accurate assertions for overlapping bookings.
- Introduced a new script, tag.sh, to automate the process of retrieving the latest Git tag and incrementing version numbers based on specified bump types (major, minor, patch) and optional prerelease tags. - The script includes validation for version formats and handles both normal and prerelease versioning, ensuring proper tagging and pushing of new versions to the remote repository. - Added echo statements for user feedback during the tagging process.
Signed-off-by: Simone Bendazzoli <simben@kth.se>
|
@copilot pull again from master and recheck the pytests for new function classes |
… modules Agent-Logs-Url: https://github.com/minnelab/MAIA/sessions/f9db2288-48c1-4f2c-907f-ef8ba3133536 Co-authored-by: SimoneBendazzoli93 <25175838+SimoneBendazzoli93@users.noreply.github.com>
Done. I pulled/rebased against the latest |
|
@copilot Recheck all other previously created tests ( for example maia_core maia_admin and maia_fn) since the code has significantly changed. Also run lint for tests |
Agent-Logs-Url: https://github.com/minnelab/MAIA/sessions/bdf0097b-d1dc-420e-b38f-3b598bc42f80 Co-authored-by: SimoneBendazzoli93 <25175838+SimoneBendazzoli93@users.noreply.github.com>
… lint pass Agent-Logs-Url: https://github.com/minnelab/MAIA/sessions/1e6889ed-3e3d-4508-bb2d-7fe229f32f11 Co-authored-by: SimoneBendazzoli93 <25175838+SimoneBendazzoli93@users.noreply.github.com>
|
@copilot add more tests or integrate the existing one to increase the pytest coverage |
…eycloak unit tests Agent-Logs-Url: https://github.com/minnelab/MAIA/sessions/0be86981-086c-4b53-9ead-eb3e4e608b86 Co-authored-by: SimoneBendazzoli93 <25175838+SimoneBendazzoli93@users.noreply.github.com>
Added more coverage by integrating new tests for |
Agent-Logs-Url: https://github.com/minnelab/MAIA/sessions/0375b650-2b54-45b4-8623-095674c4752f Co-authored-by: SimoneBendazzoli93 <25175838+SimoneBendazzoli93@users.noreply.github.com>
Agent-Logs-Url: https://github.com/minnelab/MAIA/sessions/0375b650-2b54-45b4-8623-095674c4752f Co-authored-by: SimoneBendazzoli93 <25175838+SimoneBendazzoli93@users.noreply.github.com>
pytest tests/test_* --cov=MAIA --cov=MAIA_scriptsto identify lowest-covered areasOriginal prompt
Fixes #75
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
📚 Documentation preview 📚: https://MAIA--77.org.readthedocs.build/en/77/