mocked_backend 1.0.4 copy "mocked_backend: ^1.0.4" to clipboard
mocked_backend: ^1.0.4 copied to clipboard

Mocked backend for testing

Coverage Status

A testing library for Dio based projects.

If you're using Dio directly or Rertofit for networking, You can validate your backend integration by mocking Json responses and errors.

Features #

  • Easily mock a backend response
  • Confirm your endpoint's implementation integrity by using request matchers
  • Chain multiple request into a "Scenario"

Getting started #

Add the dependency #

dev_dependencies:
  mocked_backend: <latest version>

The latest version can be found in the Versions tab on pub.dev

  • Make sure it's added as a dev_dependencies
1
likes
0
pub points
39%
popularity

Publisher

unverified uploader

Mocked backend for testing

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, flutter

More

Packages that depend on mocked_backend