TestHarness<T>
in your application's test/
directory. For each test suite, you install this harness to start and stop your application in 'test' mode. A test harness runs your application like a live application.Agent
objects to send HTTP requests to your application under test. Agents add default information to all of their requests, like authorization information. You use test matchers like hasResponse
or hasStatus
to validate the response your application sends for a given request.config.src.yaml
.) You may also create mock services with MockHTTPServer
to use during testing.