1To run the tests, use `py.test <http://pytest.org/latest/>`_::
2
3    py.test tests
4
5The tests are all located in the tests/ directory. To add a new unit
6test all you have to do is create the file in the tests/ directory with a
7filename in this format::
8
9    test_*.py
10
11New test case classes may wish to inherit from ``PexpectTestCase.PexpectTestCase``
12in the tests directory, which sets up some convenient functionality.
13