Introduction to Just-in-Time Tests
The rise of agentic software development has transformed the way code is written, reviewed, and shipped. However, this shift also demands a corresponding evolution in testing frameworks to keep pace with the rapidly changing landscape. Just-in-Time Tests (JiTTests) have emerged as a novel approach to testing, leveraging large language models (LLMs) to generate tests automatically, on the fly, to catch bugs just before code lands in production.
Understanding Traditional Testing
Traditionally, tests are manually built as new code is added to a codebase and are continually executed, requiring regular updates and maintenance. This approach strains under the pace of agentic development, escalating the burden of test development and the cost of false positives and test maintenance.
How Catching JiTTests Work
Catching JiTTests are bespoke tests, tailored to a specific code change, providing engineers with actionable feedback about unexpected behavior changes without the need for reading or writing test code. Here are the key steps in the Catching JiTTest process:
- New code lands in the codebase.
- The system infers the intention of the code change.
- It creates mutants (code versions with faults deliberately inserted) to simulate what could go wrong.
- It generates and runs tests to catch those faults.
- Ensembles of rule-based and LLM-based assessors focus the signal on true positive failures.
- Engineers receive clear, relevant reports about unexpected changes right when it matters most.
Why JiTTests Matter
Catching JiTTests are designed for the world of AI-powered agentic software development, accelerating testing by focusing on serious, unexpected bugs. They eliminate the need for human-written test code, reduce maintenance costs, and shift effort from humans to machines, making them more robust and less prone to breaking due to intended updates.
Conclusion and Call to Action
In conclusion, Just-in-Time Tests represent a significant shift in testing infrastructure, moving the focus from generic code quality to whether a test actually finds faults in a specific change without raising a false positive. To learn more about the future of software testing and how JiTTests can revolutionize your development process, read the full paper on Just-in-Time Catching Test Generation.
Frequently Asked Questions
- What are Just-in-Time Tests? JiTTests are a novel approach to testing that generates tests automatically, on the fly, to catch bugs just before code lands in production.
- How do Catching JiTTests work? Catching JiTTests are bespoke tests tailored to a specific code change, providing actionable feedback about unexpected behavior changes.
- What are the benefits of JiTTests? JiTTests eliminate the need for human-written test code, reduce maintenance costs, and are more robust and less prone to breaking due to intended updates.
- How do JiTTests handle false positives? JiTTests use sophisticated techniques to maximize test signal value and minimize false positive drag, targeting test signals where they matter most: on serious failures.
- Can JiTTests be used with agentic software development? Yes, JiTTests are designed for the world of AI-powered agentic software development, accelerating testing by focusing on serious, unexpected bugs.







