-
Notifications
You must be signed in to change notification settings - Fork 0
Add comprehensive unit test suite with fixtures instead of mocks #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. |
Co-authored-by: edwinjosechittilappilly <15969583+edwinjosechittilappilly@users.noreply.github.com>
…ocks - Created conftest.py with shared fixtures for classification datasets, train/test splits, trained models, and temporary files - Added test_data_utils.py with 10 tests for data loading, preprocessing, and utility functions - Added test_data_preparation_extended.py with 20 tests for DataPreparation class covering all methods - Added test_optimizer.py with 8 tests for Optimizer class covering initialization, optimization, study loading, and error handling - Added test_xai_extended.py with 23 tests for XAI module covering configuration, metrics, and state management - All tests use real data and fixtures instead of mocks for solid integration testing - Improved test coverage from 37% to 38.44% - All 101 tests passing successfully Co-authored-by: edwinjosechittilappilly <15969583+edwinjosechittilappilly@users.noreply.github.com>
Co-authored-by: edwinjosechittilappilly <15969583+edwinjosechittilappilly@users.noreply.github.com>
Created solid unit test suite covering core quoptuna functionality using real data and fixtures rather than mocks for true integration testing.
Changes
Test Infrastructure
Test Coverage by Module
Bug Fix
langchain→langchain_core)Documentation
Example Usage
Key Metrics
backend/models.pybackend/utils/data_utils/prepare.pybackend/utils/data_utils/data.pybackend/xai/xai.pyAll tests use scikit-learn datasets and real model training—no mocks.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.