This repo contains basic examples for testing and debugging in Python.
basic_testing.py
: Contains a simple function and tests for it using Python'sunittest
framework.debugging_example.py
: Demonstrates common errors and issues in code for practice in debugging.
To run the tests in basic_testing.py
, use the following command:
python basic_testing.py