Repository navigation
test: split the grower journey tests into modules that each run in under five minutes - #398
Merged
Merged
Conversation
…der five minutes The 42 tests of test_grower_journey are now in four modules (catalogue even and odd positions, reagents, reports) with the shared helpers in grower_journey_support. The test identities are unchanged apart from the module name. CI weights and the catalogue scheduling test follow the new modules.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #398 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 152 152
Lines 18111 18111
Branches 3657 3657
=========================================
Hits 18111 18111
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
NOT READY until CI is green.
Closes #397
The 42 tests of
tests/test_grower_journey.py(359 s alone) are split by class into modules that each run alone in under five minutes. No test is added, removed or changed; only the module name in each test id changes.test_grower_journey_catalogue_eventest_grower_journey_catalogue_oddtest_grower_journey_reagentstest_grower_journey_reportsgrower_journey_supporttomato,check_grower_outputs,CatalogueFormulaChecksThe catalogue is split by formula position so a formula added later is covered without edits.
tests/test_ci_parallel.pyandtools/ci_test_weights.jsonfollow the new modules.Verified on this branch:
outputs/test-runs/2026-11-30-refactor-split-grower-journey/.test_ci_parallel3 s.Not yet verified: the CI exact-coverage and 3.11 gates have not run.