Tag: test-driven-development
-
pytest for Test-Driven Development
Test-driven development is a common software development approach that facilitates test automation, code refactoring, and to validate code functionality. This article goes over pytest, a popular testing framework to write tests in Python. This GitHub repo contains the code snippets presented in this article. Motivation for using pytest unittest and the Arrange-Act-Assert model The Arrange-Act-Assert…