A sample Python project for exploring Wallaby.py features.
- Open this project in VS Code with the Wallaby.py extension installed
- Wallaby.py will start automatically
- Open
test_calculator.pyto see real-time test feedback
- Real-time test execution: Open
test_calculator.pyand notice theLOADED_ATtimestamp shown inline next toLOADED_AT #?intest_module_loaded_at. Make any edit tocalculator.py(e.g. add a space or change a comment) and save — the timestamp updates instantly, showing the exact time the module was reloaded. - Fix a bug: The multiply test in
test_calculator.pyhas an intentional error intest_multiply. Fix the assertion and watch the test pass/fail indicators update in real-time. - Code coverage: Uncomment tests in
test_car.pyto see coverage change in real-time - Value Peek: Add
#?at the end of any expression to inspect its value - Logpoints: Right-click the gutter to add a logpoint and inspect values without modifying code
- Time Travel Debugger: Click the
Debugcode lens above any test to step forward and backward through execution - Test Story Viewer: Run the
Open Test Storycommand within any test to see the full execution flow in a single view - Interactive Value Graphs: Log a complex object (e.g.
#?on a DeLorean instance) withintest_delorean.py, and click the graph icon to visualize it - AI Integration: Use Wallaby's Copilot Chat integration (
Investigate with AI) from the Errors list to debug with AI
calculator.py/test_calculator.py- Basic arithmetic with a bug to fix, value peek democar.py/test_car.py- Code coverage exploration withprint()outputdelorean.py/test_delorean.py- Time Travel Debugger and value graph demo