diff options
author | Jakub Witczak <kuba@erlang.org> | 2023-04-07 17:59:14 +0200 |
---|---|---|
committer | Jakub Witczak <kuba@erlang.org> | 2023-04-28 18:19:02 +0200 |
commit | 1d1c80466a32d266b9bb1325b3b0aebe64fbd507 (patch) | |
tree | db805d10ffa0489bde8c32984520897c6e0e48cf /lib/common_test/doc/src/write_test_chapter.xml | |
parent | dae1243845092de920f8c8df650db6610d310577 (diff) | |
download | erlang-1d1c80466a32d266b9bb1325b3b0aebe64fbd507.tar.gz |
ct: various doc fixes
- fix typo group/0 -> groups/1
- in groups example, wrap result term in a list
- add testcase tuple in type specs for all/0 and groups/0
- add list to ct_testcase_repeat_prop() type
Diffstat (limited to 'lib/common_test/doc/src/write_test_chapter.xml')
-rw-r--r-- | lib/common_test/doc/src/write_test_chapter.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/common_test/doc/src/write_test_chapter.xml b/lib/common_test/doc/src/write_test_chapter.xml index 8f7c7e8177..99571bbdae 100644 --- a/lib/common_test/doc/src/write_test_chapter.xml +++ b/lib/common_test/doc/src/write_test_chapter.xml @@ -515,14 +515,14 @@ <c>{group,GroupName,Properties,SubGroups}</c> Where, <c>SubGroups</c> is a list of tuples, <c>{GroupName,Properties}</c> or <c>{GroupName,Properties,SubGroups}</c> representing the subgroups. - Any subgroups defined in <c>group/0</c> for a group, that are not specified + Any subgroups defined in <c>groups/0</c> for a group, that are not specified in the <c>SubGroups</c> list, executes with their predefined properties.</p> <p><em>Example:</em></p> <pre> - groups() -> {tests1, [], [{tests2, [], [t2a,t2b]}, - {tests3, [], [t31,t3b]}]}.</pre> + groups() -> [{tests1, [], [{tests2, [], [t2a,t2b]}, + {tests3, [], [t31,t3b]}]}].</pre> <p>To execute group <c>tests1</c> twice with different properties for <c>tests2</c> each time:</p> <pre> |