Email or username:

Password:

Forgot your password?
Andrew Tropin

Ouch, I can't use srfi-64 test-group inside asyncronous code, because it uses dynamic-wind and re-entering fiber's continuation messes up test-runner output:

git.savannah.gnu.org/cgit/guil

#scheme #lisp

4 comments
Andrew Tropin

@lechner I'll just avoid using test-group inside fibers for now. I guess I'll need to revisit scheme's testing frameworks one more time later this year, but let's finish guile-nrepl first.

Andrew Tropin

Another good idea is to make assertions outside of async code.

Ramin Honary

@abcdw You might be have to define your own SRFI-64 test runner object that captures test outputs to a buffer specific to that one test, and then dump the buffer to stdout when the test completes. That way you can re-enter the continuation as often as you like, the output will only go into the buffer for that test.

Go Up