Workflow
Workflow
This is for Goldilocks 2.0. If you're using Goldilocks 1.0 (part of PawLIB), see the official documentation at https://docs.mousepawmedia.com/pawlib
See M125 for the latest versions of the Goldilocks flowcharts.
Test Execution Workflow
- Test::pre() is called first.
- If that returns false, Test::prefail() is called.
- Test::janitor() is called.
- If that returns false, Test::postmortem() is called.
- Test::run() is called.
- If that returns false AND test is supposed to die on failure, Test::postmortem() is called.
- If there are still iterations of the test to be run, return to step 2.
- Test::post() is called.
Benchmark Execution Workflow
- Test::pre() is called first.
- If that returns false, Test::prefail() is called.
- Test::janitor() is called.
- If that returns false, Test::postmortem() is called.
- Test::run_optimized() is called.
- If that returns false, Test::postmortem() is called.
- Test::janitor() is called.
- If that returns false, Test::postmortem() is called.
- Test::run_optimized() is called in the context of the measurement function.
- If that returns false, Test::postmortem() is called.
- If there are still iterations of the test to be run, return to step 4.
- Test::post() is called.
NOTE: In the flowchart below, Test::run() should be Test::run_optimized().
- Last Author
- jcmcdonald
- Last Edited
- Jan 30 2021, 12:16 PM