Skip to content

Make test fixtures return each recipe separately#293

Merged
bcumming merged 1 commit into
eth-cscs:mainfrom
msimberg:test-fixtures
May 18, 2026
Merged

Make test fixtures return each recipe separately#293
bcumming merged 1 commit into
eth-cscs:mainfrom
msimberg:test-fixtures

Conversation

@msimberg
Copy link
Copy Markdown
Collaborator

Makes each test parameterized over the recipe and easier to see which tests pass or fail. Each recipe becomes a separate test:

unittests/test_schema.py::test_config_yaml PASSED                                                                                                                                                                                  [  4%]
unittests/test_schema.py::test_recipe_config_yaml[host-recipe] PASSED                                                                                                                                                              [  8%]
unittests/test_schema.py::test_recipe_config_yaml[base-nvgpu] PASSED                                                                                                                                                               [ 13%]
unittests/test_schema.py::test_recipe_config_yaml[cache] PASSED                                                                                                                                                                    [ 17%]
unittests/test_schema.py::test_recipe_config_yaml[with-repo] PASSED                                                                                                                                                                [ 21%]
unittests/test_schema.py::test_recipe_config_yaml[with-multi-repos] PASSED                                                                                                                                                         [ 26%]
unittests/test_schema.py::test_compilers_yaml PASSED                                                                                                                                                                               [ 30%]
unittests/test_schema.py::test_recipe_compilers_yaml[host-recipe] PASSED                                                                                                                                                           [ 34%]
unittests/test_schema.py::test_recipe_compilers_yaml[base-nvgpu] PASSED                                                                                                                                                            [ 39%]
unittests/test_schema.py::test_recipe_compilers_yaml[cache] PASSED                                                                                                                                                                 [ 43%]
unittests/test_schema.py::test_recipe_compilers_yaml[with-repo] PASSED                                                                                                                                                             [ 47%]
unittests/test_schema.py::test_recipe_compilers_yaml[with-multi-repos] PASSED                                                                                                                                                      [ 52%]

@msimberg msimberg requested review from albestro and bcumming May 18, 2026 14:38
@bcumming bcumming merged commit 30ab4ee into eth-cscs:main May 18, 2026
2 checks passed
@msimberg msimberg deleted the test-fixtures branch May 18, 2026 16:12
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