artemchernyak
2021-1-23 02:52:05

What are the best practices for organizing tests in Racket?

In other languages I would organize each set of test into a suite, but my approach feels a little clunky with Racket. Right now I have a suite per function and if I want to run all the test in the repl or via raco test, I have to create another master suite for the module that pulls all those together and at the end call (run-tests master-suite) .

I might be missing something really obvious here, but is there a better way to go about this?


notjack
2021-1-23 06:25:23

I suggest using test submodules and test-case