Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 585 Bytes

DEVELOPERS.rst

File metadata and controls

19 lines (13 loc) · 585 Bytes

To run the tests, use py.test:

py.test 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.

pexpect is formatted with [black](https://github.com/psf/black). Please run black locally before submitting a Pull Request. From the project root:

` black . `