Skip to content

Refactor AlphaFold unit tests for clarity, robustness, and better coverage#1096

Open
propulsive-guy wants to merge 1 commit intogoogle-deepmind:mainfrom
propulsive-guy:patch-2
Open

Refactor AlphaFold unit tests for clarity, robustness, and better coverage#1096
propulsive-guy wants to merge 1 commit intogoogle-deepmind:mainfrom
propulsive-guy:patch-2

Conversation

@propulsive-guy
Copy link

Improved unit tests for run_alphafold.py.

This version enhances readability, structure, and robustness by:
Moving mock setup into setUp().
Adding docstrings and descriptive assertions.
Checking file existence more flexibly.
Adding validation for generated file sizes and correctness.
Supporting multiple relaxation modes via parameterization.

Improved unit tests for run_alphafold.py.

This version enhances readability, structure, and robustness by:
 Moving mock setup into setUp().
 Adding docstrings and descriptive assertions.
 Checking file existence more flexibly.
 Adding validation for generated file sizes and correctness.
 Supporting multiple relaxation modes via parameterization.
@propulsive-guy propulsive-guy changed the title Update run_alphafold_test.py Refactor AlphaFold unit tests for clarity, robustness, and better coverage Oct 11, 2025
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.

1 participant