summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-04-17 16:01:05 +0000
committerAlan Conway <aconway@apache.org>2008-04-17 16:01:05 +0000
commitf89c4bab5b5414796ca104d9a9a6c7fc138e10cd (patch)
tree013b1361bcaec9b0c40d85a1ba50e23ead944647 /qpid/cpp/src/tests
parent1fb9824a72cc82746a8ed647e1241a07a36dbbb7 (diff)
downloadqpid-python-f89c4bab5b5414796ca104d9a9a6c7fc138e10cd.tar.gz
src/Makefile.am: Fix problems with rpmbuild.
src/tests/README: Updated information about boost test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649159 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
-rw-r--r--qpid/cpp/src/tests/README33
1 files changed, 8 insertions, 25 deletions
diff --git a/qpid/cpp/src/tests/README b/qpid/cpp/src/tests/README
index 3cf6fab2ad..0f4edee493 100644
--- a/qpid/cpp/src/tests/README
+++ b/qpid/cpp/src/tests/README
@@ -21,33 +21,16 @@ worked around in Qpid.
== Unit Tests ==
+Unit tests use the boost test framework, and are compiled to rogram
+ unit_test
+There are several options to control how test results are displayed,
+see
+ http://www.boost.org/doc/libs/1_35_0/libs/test/doc/components/utf/parameters/index.html
-Unit tests shared libraries containing CppUnit test plug-ins, run by
-the CppUnit DllPlugInTester program.
+NOTE: some unit tests are written as CppUnit plug-ins, we are moving away
+from CppUnit so new tests should use the boost framework.
-run-unit-tests runs tests under valgrind, you can run it directly.
-Library names (without path or .so) and CppUnit test paths can be
-specified on the command line or in env var UNIT_TESTS. For example:
-
-Selected test classes:
-./run-unit-tests ValueTest ClientChannelTest
-
-Individual test method
-./run-unit-tests ValueTest :ValueTest::testStringValueEquals
-
-You can also Build and run selected tests via make:
-make check TESTS=run-unit-tests UNIT_TESTS=ClientChannelTest
-
-NOTE: If you use DllPlugInTester directly note that if foobar.so is in
-the current directory then this will fail with "can't load plugin":
- # DllPluginTester foobar.so
-
-Instead you need to say:
- # DllPluginTester ./foobar.so
-
-DllPluginTester uses dlopen() which only searches for shlibs
-in the standard places unless the filename contains a "/". In that
-case it just tries to open the filename.
+CppUnit tests are run by the script run-unit-tests.
== System Tests ==