Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Backgrouond

Why test?

What is a unit test?

Unit tests increase confidence but never to 100%

Pytest

Basic unit test components:

  • test_

  • Setup, run, test

Running:

  • How to run

  • Tests pass unless they explicitly throw an uncaught exception

Reusable components:

  • Constants

  • Fixtures for setup

  • No labels