Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 418 Bytes

DEVELOPERS.rst

File metadata and controls

12 lines (8 loc) · 418 Bytes

To run the tests, use pytest:

pytest tests

The tests are all located in the tests/ directory. To add a new unit test all you have to do is create the file in the tests/ directory with a filename in this format:

test_*.py

New test case classes may wish to inherit from PexpectTestCase.PexpectTestCase in the tests directory, which sets up some convenient functionality.