Browse Source

Add documentation

pull/3/head
Andrew Thompson 11 years ago
parent
commit
2f6991cbd7
2 changed files with 5 additions and 0 deletions
  1. +2
    -0
      src/rebar.erl
  2. +3
    -0
      src/rebar_eunit.erl

+ 2
- 0
src/rebar.erl View File

@ -369,6 +369,8 @@ eunit [suite[s]=foo] Run eunit tests in foo.erl and
no such test exists, run the test whose no such test exists, run the test whose
name starts with bar in the suite's name starts with bar in the suite's
_tests module _tests module
[random_suite_order=true] Run tests in a random order, either with
[random_suite_order=Seed] a random seed for the PRNG, or a specific one.
ct [suite[s]=] [case=] Run common_test suites ct [suite[s]=] [case=] Run common_test suites

+ 3
- 0
src/rebar_eunit.erl View File

@ -126,6 +126,9 @@ info_help(Description) ->
" name starts with bar and, if no such test exists,~n" " name starts with bar and, if no such test exists,~n"
" run the test whose name starts with bar in the~n" " run the test whose name starts with bar in the~n"
" suite's _tests module)~n" " suite's _tests module)~n"
" random_suite_order=true (Run tests in random order)~n"
" random_suite_order=Seed (Run tests in random order,~n"
" with the PRNG seeded with Seed)~n"
" compile_only=true (Compile but do not run tests)", " compile_only=true (Compile but do not run tests)",
[ [
Description, Description,

Loading…
Cancel
Save