Skip to content

remove classes#72

Open
AdamsMP92 wants to merge 5 commits into
masterfrom
remove-classes
Open

remove classes#72
AdamsMP92 wants to merge 5 commits into
masterfrom
remove-classes

Conversation

@AdamsMP92

Copy link
Copy Markdown

Refactor calculator tests from classes to functions

Flatten micromagnetictests calculator test classes into individual pytest
functions with shared setup moved into fixtures. Export the new function-level
tests explicitly so mumax3c and oommfc can continue importing the shared test
suite while making future test selection and removal more granular.

AdamsMP92 and others added 4 commits July 2, 2026 08:58
Compare the exported get_tests result against the registered calculator test
modules instead of only checking the total number of tests. This catches missing
exports, duplicate names, non-function exports, and accidental non-test entries.
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.

2 participants