Skip to main content

ezmock 1.1.0 copy "ezmock: ^1.1.0" to clipboard
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.success and Scenario.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 ezmock and import package: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.
0
likes
140
points
--
downloads

Documentation

API reference

Publisher

verified publisherezmock.io

Weekly Downloads

Client-independent API mocking for Flutter mobile and desktop with a Dart loopback server.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, material_ui, shared_preferences

More

Packages that depend on ezmock