From 9dcbdfed7f383fd69f1ea505ed165cc3e7714257 Mon Sep 17 00:00:00 2001
From: David Ansari <david.ansari@gmx.de>
Date: Thu, 5 Jan 2023 15:15:25 +0000
Subject: 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"
---
 doc/src/guide/common_test.asciidoc | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'doc/src/guide/common_test.asciidoc')

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.
-- 
cgit v1.2.3

