Skip to content

python-spokane/testing-in-python

Repository files navigation

Testing in Python

“Code without tests is bad code. It doesn’t matter how well-written it is; it doesn’t matter how pretty or object-oriented or well-encapsulated it is. With tests, we can change the behavior of our code quickly and verifiably. Without them, we really don’t know if our code is getting better or worse.” - Working Effectively with Legacy Code by Michael Feathers.

If code without tests is bad code, then the first step to writing good code is learning to write tests. Join the Spokane Python User Group as we learn how to craft tests for our code!

Resources

Development

Getting Started

Linux

python -m venv .venv
source .venv/bin/python
pip install -r requirements.txt

Windows

python -m venv .venv
.venv/Scripts/activate.ps1
pip install -r requirements.txt

Generate Slides

# See here to install marp: https://github.com/marp-team/marp-cli
marp --watch --html -o index.html slides.md

About

If code without tests is bad code, then the first step to writing good code is learning to write tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published