Comprehensive Test Suite for ConforMix-Boltz#2
Open
Rakshitha-Ireddi wants to merge 1 commit intodrorlab:mainfrom
Open
Comprehensive Test Suite for ConforMix-Boltz#2Rakshitha-Ireddi wants to merge 1 commit intodrorlab:mainfrom
Rakshitha-Ireddi wants to merge 1 commit intodrorlab:mainfrom
Conversation
- Add pytest test framework with fixtures and configuration - Add unit tests for utility functions (cif_to_xtc module) - Add tests for main run_conformixrmsd_boltz script - Add integration test framework for end-to-end testing - Add pytest.ini configuration file This addresses the critical gap where ConforMix-Boltz had no test coverage, improving code reliability and maintainability.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Authors:
Ireddi Rakshitha, Devavarapu Yaswanth,
Overview
This PR adds a fully additive, end-to-end test suite to the ConforMix repository for the Boltz implementation. The goal is to enable reliable, standardized testing of ConforMix-Boltz functionality, without modifying any existing model or sampling code.
All changes are confined to a new
conformix_boltz/tests/module andpytest.iniconfiguration.Motivation
ConforMix provides:
However, the repository currently lacks:
This test suite fills that gap by providing a research-focused testing framework suitable for:
What's Included
New
conformix_boltz/tests/Module__init__.py- Test package initializationconftest.py- Pytest fixtures and configuration:test_utils.py- Unit tests for utility functions:test_run_conformixrmsd.py- Tests for main script:test_integration.py- Integration test framework:Configuration
pytest.ini- Pytest configuration with:Key Features
Comprehensive Test Coverage
Test Organization
Developer-Friendly
Usage
Running Tests
Test Markers
@pytest.mark.unit- Fast unit tests@pytest.mark.integration- Integration tests requiring model/GPU@pytest.mark.slow- Long-running testsImpact
Immediate Benefits
Future Benefits
Testing Strategy
Current Coverage
Future Expansion
Compatibility
Files Changed
Dependencies
No new dependencies required. Uses existing pytest infrastructure (already in project dependencies).
Next Steps
References