The looping method · from Prompt Engineering Looping by Mark Teleki
Loop E — Test and secure
Paste this into the same ChatGPT conversation as your app's project prompt. Part of the universal loop: Specify → Plan → Build → Run → Observe → Fix → Test → Ship → Learn → Repeat.
The prompt
Review the implemented code and acceptance criteria. Write unit tests for business logic and integration/end-to-end tests for critical flows, including unauthorized access, cross-tenant access, invalid input, duplicate submissions and failures. Check secrets, session handling, rate limits, dependencies, logging and sensitive data. Give exact test commands. Classify defects by severity and fix blockers first. Do not claim any test passed unless I provide its output or you actually executed it. Produce a release readiness report.
Replace anything in [SQUARE BRACKETS] before sending. Remove secrets and personal data from any error output you paste.
From Prompt Engineering Looping: 10 Real Apps You Can Code with ChatGPT and Sell by Mark Teleki, author of AI For ALL. Published by InkSpire Books, 2026. eBook (PDF), 68 pages.
Get the full e-book
Rs. 249 Rs. 399
Every prompt on this site is free to copy and use, with or without the book. They are build specifications, not finished applications — run, read and test whatever the model gives you before anyone pays for it.