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

Mocked backend for testing

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
19%
popularity

Publisher

unverified uploader

Mocked backend for testing

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

dio

More

Packages that depend on mocked_backend