Skip to content

Days 15-17: Python (Testing)

Laboratory 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:

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.

Extra credit reading