* srfi64 test group
@ 2023-08-17 13:54 Jérémy Korwin-Zmijowski.fr
2023-08-17 14:56 ` Olivier Dion
0 siblings, 1 reply; 2+ messages in thread
From: Jérémy Korwin-Zmijowski.fr @ 2023-08-17 13:54 UTC (permalink / raw)
To: Mailing list Guile User
Hello Guilers,
As I understand, a test-group form should work as follow:
(use-module (srfi srfi-64))
(test-group "foo" (test-assert #t))
But evaluating the previous expressions raises an exception.
Same for test-group-with-cleanup.
I will reach srfi64 maintainers and keep you up.
Jérémy
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: srfi64 test group
2023-08-17 13:54 srfi64 test group Jérémy Korwin-Zmijowski.fr
@ 2023-08-17 14:56 ` Olivier Dion
0 siblings, 0 replies; 2+ messages in thread
From: Olivier Dion @ 2023-08-17 14:56 UTC (permalink / raw)
To: Jérémy Korwin-Zmijowski.fr, Mailing list Guile User
On Thu, 17 Aug 2023, Jérémy Korwin-Zmijowski.fr <jeremy@korwin-zmijowski.fr> wrote:
> Hello Guilers,
>
> As I understand, a test-group form should work as follow:
>
> (use-module (srfi srfi-64))
> (test-group "foo" (test-assert #t))
>
> But evaluating the previous expressions raises an exception.
IIRC, test-group must be in between a test-begin/test-end pair forms?
--8<---------------cut here---------------start------------->8---
(use-modules (srfi srfi-64))
(test-begin "bar")
(test-group "foo" (test-assert #t))
(test-end "bar")
--8<---------------cut here---------------end--------------->8---
--
Olivier Dion
oldiob.dev
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-17 14:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-17 13:54 srfi64 test group Jérémy Korwin-Zmijowski.fr
2023-08-17 14:56 ` Olivier Dion
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).