summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorcliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a>2009-08-10 22:29:54 +0000
committercliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a>2009-08-10 22:29:54 +0000
commit43f350a154b2225cead284ac25a94c5c0b6d4a76 (patch)
treec7b79183a30ad30f1cf795719eac344db5000721 /documentation
parent84d50f88f6e32e598df5b02753b6f49bd3e737ee (diff)
downloadpyserial-43f350a154b2225cead284ac25a94c5c0b6d4a76.tar.gz
move test scripts to separate test directory
git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@334 f19166aa-fa4f-0410-85c2-fa1106f25c8a
Diffstat (limited to 'documentation')
-rw-r--r--documentation/examples.rst22
1 files changed, 14 insertions, 8 deletions
diff --git a/documentation/examples.rst b/documentation/examples.rst
index 30ff8e3..e5901fa 100644
--- a/documentation/examples.rst
+++ b/documentation/examples.rst
@@ -287,16 +287,21 @@ scanwin32.py_
Unit tests
==========
The project uses a number of unit test to verify the functionality. They all
-need a loop back connector. The scripts itself contain more information.
+need a loop back connector. The scripts itself contain more information. All
+test scripts are contained in the directory ``test``.
The unit tests are performed on port ``0`` unless a different device name or
-rfc2217 URL is given on the command line (argv[1]).
+``rfc2217://`` URL is given on the command line (argv[1]).
+
+run_all_tests.py_
+ Collect all tests from all ``test*`` files and run them. By default, the
+ ``loop://`` device is used.
test.py_
- Basic tests.
+ Basic tests (binary capabilities, timeout, control lines).
test_advanced.py_
- Test more advanced features.
+ Test more advanced features (properties).
test_high_load.py_
Tests involving sending a lot of data.
@@ -305,7 +310,8 @@ test_iolib.py_
Tests involving the :mod:`io` library. Only available for Python 2.6 and
newer.
-.. _test.py: http://pyserial.svn.sourceforge.net/viewvc/*checkout*/pyserial/trunk/pyserial/examples/test.py
-.. _test_advanced.py: http://pyserial.svn.sourceforge.net/viewvc/*checkout*/pyserial/trunk/pyserial/examples/test_advanced.py
-.. _test_high_load.py: http://pyserial.svn.sourceforge.net/viewvc/*checkout*/pyserial/trunk/pyserial/examples/test_high_load.py
-.. _test_iolib.py: http://pyserial.svn.sourceforge.net/viewvc/*checkout*/pyserial/trunk/pyserial/examples/test_iolib.py
+.. _run_all_tests.py: http://pyserial.svn.sourceforge.net/viewvc/*checkout*/pyserial/trunk/pyserial/test/run_all_tests.py
+.. _test.py: http://pyserial.svn.sourceforge.net/viewvc/*checkout*/pyserial/trunk/pyserial/test/test.py
+.. _test_advanced.py: http://pyserial.svn.sourceforge.net/viewvc/*checkout*/pyserial/trunk/pyserial/test/test_advanced.py
+.. _test_high_load.py: http://pyserial.svn.sourceforge.net/viewvc/*checkout*/pyserial/trunk/pyserial/test/test_high_load.py
+.. _test_iolib.py: http://pyserial.svn.sourceforge.net/viewvc/*checkout*/pyserial/trunk/pyserial/test/test_iolib.py