diff options
author | Thomas Kluyver <takowl@gmail.com> | 2015-01-19 14:52:18 -0800 |
---|---|---|
committer | Thomas Kluyver <takowl@gmail.com> | 2015-01-19 14:52:18 -0800 |
commit | 35bb9c20ce9ddaa02b26d2ad45e6beee5a49ef73 (patch) | |
tree | dd79795a1dcc88a49f486a6b745a702837a82332 | |
parent | 0b3803d02c827225625d5113bd4258cd41283722 (diff) | |
download | pexpect-35bb9c20ce9ddaa02b26d2ad45e6beee5a49ef73.tar.gz |
Update tests README
-rw-r--r-- | tests/README | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/tests/README b/tests/README index 295632b..ef5b613 100644 --- a/tests/README +++ b/tests/README @@ -1,18 +1,8 @@ -The best way to run these tests is from the directory above this one. Source -the test.env environment file. This will make sure that you are using the -correct pexpect.py file otherwise Python might try to import a different -version if it is already installed in this environment. Then run the testall.py -script in the tools/ directory. This script will automatically build a test -suite from all the test scripts in the tests/ directory. This allows you to add -new test scripts simply by dropping them in the tests/ directory. You don't -have to register the test or do anything else to integrate it into the test -suite. +The best way to run these tests is from the directory above this one. Run: -For example, this is the normal set of commands you would use to run all tests -in the tests/ directory: + py.test - $ cd /home/user/pexpect_dev/ - $ . test.env - $ ./tools/testall.py +To run a specific test file: + py.test tests/test_constructor.py |