mocked_backend 1.0.3 mocked_backend: ^1.0.3 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