diff options
author | Raimo Niskanen <[email protected]> | 2010-07-07 12:09:52 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-07-07 12:09:52 +0200 |
commit | c752a4ea65c744ac283cc277717f8defa15ae610 (patch) | |
tree | c01e45e9840a19a9f326cf346d0e81d53b995a5e /lib/common_test/doc/src/run_test.xml | |
parent | 725dc6a14dcf5db071e9872b0661c792368d8edb (diff) | |
parent | 311ed3490b2b9dc93433827a3941c14e40f41a2e (diff) | |
download | otp-c752a4ea65c744ac283cc277717f8defa15ae610.tar.gz otp-c752a4ea65c744ac283cc277717f8defa15ae610.tar.bz2 otp-c752a4ea65c744ac283cc277717f8defa15ae610.zip |
Merge branch 'peppe/common_test/dev/OTP-8725' of super:peppe_otp into dev
* 'peppe/common_test/dev/OTP-8725' of super:peppe_otp:
Fix bug that crashes common_test when running cover
Bump version numbers for common_test and test_server
Add documentation for group specifications and for the label option
Improve handling of test case group specifications
Add textured backgound to html log files
Improve handling of test case group specifications
Add new option to label test runs
Implement handling of group specifications
Fix problem with using the wrong logdir setting
Rewrite handling of group definitions in Common Test test suites
Diffstat (limited to 'lib/common_test/doc/src/run_test.xml')
-rw-r--r-- | lib/common_test/doc/src/run_test.xml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/common_test/doc/src/run_test.xml b/lib/common_test/doc/src/run_test.xml index d609c4287f..2f0a94afba 100644 --- a/lib/common_test/doc/src/run_test.xml +++ b/lib/common_test/doc/src/run_test.xml @@ -45,6 +45,11 @@ flags start an Erlang node prepared for running Common Test in a particular mode.</p> + <p>There is an interface function that corresponds to this program, + called <c>ct:run_test/1</c>, for starting Common Test from the Erlang + shell (or an Erlang program). Please see the <c>ct</c> man page for + details.</p> + <p><c>run_test</c> also accepts Erlang emulator flags. These are used when <c>run_test</c> calls <c>erl</c> to start the Erlang node (making it possible to e.g. add directories to the code server path, @@ -72,6 +77,8 @@ <p>it prints all valid start flags to stdout.</p> </description> + <marker id="run_test"></marker> + <section> <title>Run tests from command line</title> <pre> @@ -83,6 +90,7 @@ [-userconfig CallbackModule1 ConfigString1 and CallbackModule2 ConfigString2 and .. and CallbackModuleN ConfigStringN] [-decrypt_key Key] | [-decrypt_file KeyFile] + [-label Label] [-logdir LogDir] [-silent_connections [ConnType1 ConnType2 .. ConnTypeN]] [-stylesheet CSSFile] @@ -107,6 +115,7 @@ [-userconfig CallbackModule1 ConfigString1 and CallbackModule2 ConfigString2 and .. and CallbackModuleN ConfigStringN] [-decrypt_key Key] | [-decrypt_file KeyFile] + [-label Label] [-logdir LogDir] [-allow_user_terms] [-silent_connections [ConnType1 ConnType2 .. ConnTypeN]] @@ -128,12 +137,12 @@ <title>Run tests in web based GUI</title> <pre> run_test -vts [-browser Browser] + [-dir TestDir1 TestDir2 .. TestDirN] | + [-suite Suite [[-group Group] [-case Case]]] [-config ConfigFile1 ConfigFile2 .. ConfigFileN] [-userconfig CallbackModule1 ConfigString1 and CallbackModule2 ConfigString2 and .. and CallbackModuleN ConfigStringN] [-decrypt_key Key] | [-decrypt_file KeyFile] - [-dir TestDir1 TestDir2 .. TestDirN] | - [-suite Suite [[-group Group] [-case Case]]] [-include InclDir1 InclDir2 .. InclDirN] [-no_auto_compile] [-muliply_timetraps Multiplier] |