creating-debug-tests-and-iterating
Installation
SKILL.md
From this point on, ignore any existing tests until you have a working example validated through a new test file.
- Write a script that interacts with the application from the outside. The script should not call any internals. It should only interact with the external interfaces.
- Check to see if you require authentication. If you do, ask me for credentials. Do NOT use mock mode or test harnesses. You should be testing the real thing.
- Follow these steps in a loop until the bug is fixed:
- Add many logs to the application. You MUST do this on every loop.
- Run the debug script.
- Analyze the output: read logs, identify errors, do whatever you need to.
- Update the debug script. If you get stuck: did you add logs?
- Identify and fix the issue at hand.
- Clean up all background jobs, and remove extraneous logs.
- Make sure other tests pass.