In addition to Jay's suggestion, if you're doing something JSONy (that
is, if your HTTP response bodies are JSON) consider using Riposte
(https://riposte.in). It's a DSL for testing such web applications. (But
only if you're serving JSON. Riposte currently doesn't help if you're
serving up HTML
You may be interesting in the `web-server/test` library:
https://docs.racket-lang.org/web-server/test.html
--
Jay McCarthy
Associate Professor @ CS @ UMass Lowell
http://jeapostrophe.github.io
Vincit qui se vincit.
On Thu, May 30, 2019 at 2:24 PM Comrade SparklePony
wrote:
>
> Hello,
>
> I'
Hello,
I'm new to Racket, and to gain facility with it I have been trying to
write small webapps, i.e. a simple calculator, using the built-in web
framework. However, I have found myself stuck when trying to implement
tests for some of the functions the webapp provides-- I am not sure how t
3 matches
Mail list logo