aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Ansari <[email protected]>2023-01-05 15:15:25 +0000
committerLoïc Hoguin <[email protected]>2023-05-12 13:45:15 +0200
commit9dcbdfed7f383fd69f1ea505ed165cc3e7714257 (patch)
tree77fafc91d66f1b481a856862222fda50e94610ea
parent7f7db5d1e6a442aee5dba4aa98dd0594f5f3513d (diff)
downloaderlang.mk-9dcbdfed7f383fd69f1ea505ed165cc3e7714257.tar.gz
erlang.mk-9dcbdfed7f383fd69f1ea505ed165cc3e7714257.tar.bz2
erlang.mk-9dcbdfed7f383fd69f1ea505ed165cc3e7714257.zip
Add Common Test Sub Group example
"With this type of specification execution of unwanted groups (in otherwise matching paths), and/or the execution of subgroups can be avoided. The command line syntax of the group path is a list of group names in the path"
-rw-r--r--doc/src/guide/common_test.asciidoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/src/guide/common_test.asciidoc b/doc/src/guide/common_test.asciidoc
index 993bb8c..05e43eb 100644
--- a/doc/src/guide/common_test.asciidoc
+++ b/doc/src/guide/common_test.asciidoc
@@ -99,5 +99,11 @@ the test suite does not group test cases:
[source,bash]
$ make ct-http c=headers_dupe
+A test within a specific subgroup can be run by providing a
+group path:
+
+[source,bash]
+$ make ct-http t=[top_level_group,second_level_group,third_level_group]:my_case
+
Finally, xref:coverage[code coverage] is available,
but covered in its own chapter.