Python Test - Pytest library


pytest is a test runner library

See also Python - Test

File format

filename like test_*.py will be auto-discoverable by pytest.


from test_helper import Test
numPoints = 6724
Test.assertEquals(numPoints, 6724, 'incorrect value for numPoints')

Idea Configuration

  • Set Pytest as the runner, then run the script as normal

Documentation / Reference

Powered by ComboStrap