Open
Description
.project.navigate.workflow
was migrated from message_data in #350. This included tests that the Workflow can be generated using .navigate.workflow.generate(), but there were and are no tests that the workflow runs end-to-end, or that the many individual functions used in the workflow each behave as expected.
The entire workflow has a long runtime, 20–30 minutes or more. It is imaginable to run the entire workflow on snapshot scenarios, but not desirable (as least as part of the regular test suite used for pull request checks).
In order to cover the code:
- If code is to be (re)used in other projects:
- Move to common locations (not within .project.navigate).
- Add generic and atomic tests of these moved functions.
- Otherwise:
- Write atomic tests for individual functions.
- Write tests that use .workflow.generate() and then run single steps, with appropriate Scenario fixtures.