mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-03 19:26:36 +02:00
fix docs on test-group
This commit is contained in:
parent
af43c3214f
commit
d64f159608
1 changed files with 7 additions and 3 deletions
|
@ -204,10 +204,14 @@
|
||||||
|
|
||||||
;;> \section{Test Groups}
|
;;> \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
|
;;> Wraps \var{body} as a single test group, which can be filtered and
|
||||||
;;> and summarized separately.
|
;;> 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{
|
;;> \example{
|
||||||
;;> (test-group "pi"
|
;;> (test-group "pi"
|
||||||
|
|
Loading…
Add table
Reference in a new issue