I have a program that, when run, builds some data structures, prints some diagnostic output, and then wait for an incoming http request on post 8080.
I decided to try to use the Racket test facility to do the diagnostics, defining a test submodule as described in Submodules
(1) I run it using the shell command
raco test
Of course it never gets around to performing any of the tests in the test submodule -- it sits and waits for an http request to come in on port 8080 instead. Is there a way around this?
I suppose it might make sense to suppress or delay the http request until testing succeeds, and abort if testing fails. But how?
(2) Is it possible to do the equivalent of
raco test
from DrRacket?