Workflow regression testing
Utilize the wf_client regression
command to run the analyses on the work orders from production.
Example of the command:
You can specify the parameters as needed:
Organization:
--org your-organization
Solution ID:
--solution_id your-id
Site Name:
--site_name 'site-name'
Number of WOs:
--number 300
Create an
input.json
file with the corrupted task group names and entries:--to-json input.json
Absolute path to the project’s folder:
--cwd /home/me/projects/missions/path-to-the-project
Note that only work orders with the inputs will be considered. Therefore, the final count of analyzed work orders may be less than initially specified.
During the execution process, inputs will be saved to a new folder, created after every command launch: your-project-path/regression_tests/regression_test_date/
. The input.json
file will be saved to the same folder.
If errors occur during the analysis, they will be displayed in the terminal at the end of the execution process.
As we are using work orders selected from the Search Dashboard, it is necessary to add site_name
as a facet/filter in the Algolia Search before.