Leaping – Debug Python tests instantly with an LLM debugger

Leaping Leaping’s pytest debugger is a simple, fast, and lightweight tool for Python tests. It traces code execution, allowing retroactive inspection of program states using a natural language debugger. By tracking variable changes and non-deterministic sources, Leaping provides valuable insights during testing. To install, use pip install leaping, and set OPENAI_API_KEY environment variable to your GPT API key. Usage is straightforward with pytest –leaping, which opens a CLI post-test run for debugger interaction. Unique features include querying why a function isn’t hit, variable value inquiries, and suggestions for code modifications to pass tests.

https://github.com/leapingio/leaping

To top