I am working with the Spark web framework and creating a RESTful API. (http://sparkjava.com since there are multiple things out there named "Spark")
My employer's standards mandate that we write a series of unit tests that will be automatically run once a day to confirm that applications are still up.
Spark is easy to test myself using a tool like Postman but I have not found any good examples of JUnit
tests being written with Spark or even with HTTP Requests being made programmatically with it.
Has anyone done this before? Is it possible?
Aucun commentaire:
Enregistrer un commentaire