Test Lifecycle & Auto-Healing
Overview of the the full Kerno test lifecycle
The entire flow is designed to make running and maintaining tests feel smooth and low effort.
Create a Baseline
If your project contains no Kerno tests, the first action is to create initial coverage for your endpoints or routes. During this stage, Kerno sets up a baseline set of behaviours for each endpoint. This gives the project a starting point that Kerno can track over time.
This step is only executed where there are no Kerno tests for an endpoint
Generate & Execute Tests
Kerno generates the required test code, prepares the expected scenarios, and runs everything against the test environment it started on your local machine. While doing so, it automatically corrects issues inside the test code until the full set runs without errors.
[IMPORTANT ] Kerno will never makes changes to your code
Produce Baseline Report
After the test suite completes, Kerno produces a scenario report. You can open it in your editor to see the exact scenarios Kerno covered and their results.
This is essentially shows you how your code currently behaves. If you see something off fix your code and re-run the tests
If you encounter issues or have questions, message us on Slack, and we’ll gladly help.
Last updated