About
pytest is a test runner library
See also Python - Test
Articles Related
File format
filename like test_*.py will be auto-discoverable by pytest.
Example
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