Welcome to the TDD Workshop! We will be practicing Test-Driven Development using Python and pytest.
- Ensure you have
uvinstalled. - Clone this repository.
- Run
uv syncto install dependencies and create a virtual environment.
To run all tests:
uv run pytestTo run tests for a specific kata:
uv run pytest fizzbuzz/
# or
uv run pytest string_calculator/- Red: Write a failing test.
- Green: Write the minimum code to make the test pass.
- Refactor: Clean up the code while keeping tests green.