All projects · Automation & Data Pipelines
TestGen AI — Autonomous QA Test Case Generator (n8n)
An automated AI test case generator in n8n that treats the LLM like a meticulous QA engineer rather than a coder.
An automated AI test case generator in n8n that treats the LLM like a meticulous QA engineer rather than a coder. Ingests raw code snippets, infers function purpose and assumptions, generates structured test suites across Normal, Edge, and Failure categories, flags missing validations and risky assumptions, executes tests live against the function to unmask real defects, and delivers a clean, formatted Telegram QA report.
- Treats AI like a QA engineer, not a coder: infers expected behavior, creates rigorous tests, and exposes vulnerabilities
- Generates structured test cases with inputs, arguments, expected outputs, and test categories (Normal, Edge, Failure)
- Live test execution engine runs tests against real code in n8n Code node to detect actual-vs-expected mismatches
- Uncovers critical logic bugs (such as negative discounts increasing final prices) and unhandled NaN propagation
- Formats an executive Telegram Markdown report with status emojis, execution metrics, and actionable QA recommendations
Built with: n8n, OpenAI (gpt-4o-mini), LangChain (n8n), JavaScript (Code Nodes), Live Test Execution Engine, Telegram Markdown