ezmock 1.1.0
ezmock: ^1.1.0 copied to clipboard
Client-independent API mocking for Flutter mobile and desktop with a Dart loopback server.
Changelog #
1.1.0 #
- Group responses by endpoint and HTTP method in schemaVersion 2. Share scenario settings and use presets for HTTP 400, 401, 404, 500 and 503.
- Build the scenario picker from configured routes and consolidate programmatic
outcome selection into
Scenario.successandScenario.failure. - Update the Users example to demonstrate common errors with scoped fixtures and delays.
Upgrade from 1.0.0
1.0.0 #
- Promote the standalone Flutter SDK to its first stable release after verifying the hosted release candidate in Jokerary on Android and iOS.
- Install the stable package as
ezmockand importpackage:ezmock/ezmock.dart.
1.0.0-rc.1 (published as ezmock_flutter) #
- Serve bundled routes from a Dart loopback server on mobile and desktop.
- Use your existing HTTP client with named, status and response-state scenarios, configurable delay, and simulated offline and timeout errors.
- Add optional scenario and request inspection controls. The package resolves independently of the native EZMock SDKs.