kewp
Explore posts from serversTesting API server
I'm trying to setup an API server using deno and am trying to figure out what the canonical way of testing it might be.
I'd like to run the server and then run tests against it - I'm assuming you do something like Deno.Command to start the server? I'd like a script I can run like
test.sh
that will spawn the server, run tests against it, and then watch for any changes between the two ... Any examples of this in the codebase / online?7 replies