Execute Python tests every 5 minutes
Recipe ToolsMarketingData ParserUtilitiesDatabaseDeveloper Tool
What it does
When the clock triggers every 5 minutes, this automation parses data and runs Python code to test it. The job stops or skips retry based on whether an error is found.
Who it's for
Engineering teams who need to run automated Python tests on a schedule without manual intervention.
How teams use this
Run Python tests on schedule
Execute Python testing code every 5 minutes without someone having to trigger it manually. The automation logs results so the team can review them anytime.
Alert the team when tests fail
When an error is found during Python testing, add a Slack notification step so the team knows immediately. The same schedule and logic apply to the workflow.
Test multiple datasets together
Parse different data documents like jira list and client list in the same automation so all datasets are tested together. No separate workflows are needed for each dataset.
How it works
- Start on a 5-minute schedule. The automation begins every 5 minutes so Python testing runs continuously without someone having to start it manually each time.
- Parse the data documents. Json Parser reads two documents: one for the jira list and one for the client list. The parsed data is then available for the Python code to test.
- Run Python code to test. Py Eval executes the Python testing code against the parsed data. The result shows whether an error was found during the test run.
- Stop or skip retry on error. If an error is found, the job does not retry. If no error is found, the job stops. The outcome is logged so the team can review results anytime.