Hey has anyone got an example of how to test a duct handler?
@agile_geek the Duct handler is just a Duct component = a function returned from init-key
. Try to genereate a Duct project from template with a test https://github.com/duct-framework/duct/blob/master/lein-template/resources/leiningen/new/duct/example/handler_test.clj#L9
@lukas.rychtecky thanks...I literally just figured that out by poking at it in repl but thanks for the link!
With that you are able to write e2e tests request->response with ease.