test library

Extensions

TestClient on Api
Utility for testing ApiService endpoints in unit tests.

Properties

isSuccess → Matcher
no setter

Functions

declareTest(String name, List<Component> components, FutureOr<void> body(), {Timeout? timeout, Object? skip, Object? tags, Map<String, dynamic> config = const {}, List<File> configFiles = const [], ComposeEnvironment? environment}) → void
hasStatusCode(Matcher statusCodeMatcher) → Matcher
throwsApiError([Matcher? errorMatcher]) → Matcher
throwsApiRequestException([Matcher? errorMatcher]) → Matcher