aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2012-06-20 19:02:33 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2012-06-20 19:02:33 +0000
commitfad2231f8664434e913ad5c6d458fa9139492390 (patch)
treeb975968c772cee33ce5bd85a721a0085374169f6 /doc
parent506bf85de57bdf079824a14e492c112338768c2a (diff)
parent3023e782bdaee3448e1543b482cf5cd022c9699f (diff)
Merge branch '0.4.x' into 0.5.x
Conflicts: src/main.cpp src/serialize.h
Diffstat (limited to 'doc')
-rw-r--r--doc/unit-tests.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/unit-tests.txt b/doc/unit-tests.txt
new file mode 100644
index 0000000000..1168de7b70
--- /dev/null
+++ b/doc/unit-tests.txt
@@ -0,0 +1,18 @@
+Compiling/runing bitcoind unit tests
+------------------------------------
+
+bitcoind unit tests are in the src/test/ directory; they
+use the Boost::Test unit-testing framework.
+
+To compile and run the tests:
+cd src
+make -f makefile.unix test_bitcoin # Replace makefile.unix if you're not on unix
+./test_bitcoin # Runs the unit tests
+
+If all tests succeed the last line of output will be:
+*** No errors detected
+
+To add more tests, add BOOST_AUTO_TEST_CASE's to the existing
+.cpp files in the test/ directory or add new .cpp files that
+implement new BOOST_AUTO_TEST_SUITE's (and add them to the
+list of includes in test_bitcoin.cpp).