package:angel_test
, and will make your testing much easier.app
on an available port, and return a TestClient
instance (based on package:angel_client
) configured to send requests to the server. The client also supports session manipulation.Matcher
that asserts that the given http.Response
equals value
when decoded as JSON. This uses test.equals
internally, so anything that would pass that matcher passes this one.Matcher
that asserts the given http.Response
has the given status
code.