Re: [racket-users] Confused about testing web applications

2019-05-31 Thread Jesse Alama
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

Re: [racket-users] Confused about testing web applications

2019-05-30 Thread Jay McCarthy
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'

[racket-users] Confused about testing web applications

2019-05-30 Thread Comrade SparklePony
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