From d64f159608b04c7ef02949b5689fd1a2ff108f12 Mon Sep 17 00:00:00 2001 From: Alex Shinn Date: Fri, 16 Apr 2021 10:10:18 +0900 Subject: [PATCH] fix docs on test-group --- lib/chibi/test.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/chibi/test.scm b/lib/chibi/test.scm index 4be77896..b4180a2f 100644 --- a/lib/chibi/test.scm +++ b/lib/chibi/test.scm @@ -204,10 +204,14 @@ ;;> \section{Test Groups} -;;> Tests can be collected in groups for +;;> Tests can be collected in groups for separate reporting, filtering +;;> and for catching exceptions outside of a test case. -;;> Wraps \var{body} as a single test group, which can be filtered -;;> and summarized separately. +;;> Wraps \var{body} as a single test group, which can be filtered and +;;> summarized separately. The \var{body} is arbitrary Scheme code, +;;> and tests run within its dynamic extent will be associated with +;;> the group. If an uncaught exception is raised outside of a test +;;> case, it will cause the whole group to fail with an error status. ;;> \example{ ;;> (test-group "pi"