Days 15-17: Python (Testing)
Learn about how to write Python software tests.
A software test is a Python program that verifies that your software behaves as you expect it to:
- https://jeffknupp.com/blog/2013/12/09/improve-your-python-understanding-unit-testing/
- https://realpython.com/python-testing/
- https://pythontesting.net/framework/unittest/unittest-introduction/
- https://github.com/gregmalcolm/python_koans
- https://docs.python.org/3/library/unittest.html
Outcomes of this studying
You should:
- be able to explain what a software test is
- be able to write a test
- be able to read a test and explain why it might be valuable to:
- A software engineer
- A customer
- A CEO
Airplanes undergo a massive amount of testing to avoid catastrophic failure (both emotional, but also business loss from liabilities).
Software is no different.
If you consider a plane full of humans to be worth $100 million dollars, then consider that Google generates about $300 million every day. You bet they have tests.