diff --git a/doc/src/advanced.xml b/doc/src/advanced.xml index 7334136d4..5e3c18a7b 100644 --- a/doc/src/advanced.xml +++ b/doc/src/advanced.xml @@ -1585,6 +1585,24 @@ unit-test helpers_test : helpers_test.cpp helpers ; can't miss a unit test failure. + By default, the executable is run directly. Sometimes, it's + desirable to run the executable using some helper command. You should use the + testing.launcher property to specify the name of the + helper command. For example, if you write: + + +unit-test helpers_test + : helpers_test.cpp helpers + : <testing.launcher>valgrind + ; + + The command used to run the executable will be: + +valgrind bin/$toolset/debug/helpers_test + + + + There are rules for more elaborate testing: compile, compile-fail, run and run-fail. They are more suitable for automated testing, and