Codio Activity : pytest
![](images/python3.jpg)
We investigated the test-driven development of an application in Python which makes use of pytest
We worked with the code that we called wallet.py below;
![](images/wallet.jpg)
We also had test code called test_wallet.py shown below
![](images/testwallet.jpg)
We tested this code using a command pytest -q test_wallet.py.
The output is shown below
![](images/pytestoutput.jpg)