http_mock_adapter 0.1.2
http_mock_adapter: ^0.1.2 copied to clipboard
HTTP mock adapter for Dio & Mockito. By simply defining requests and corresponding responses through predefined adapters, you will be able to mock requests sent via Dio.
Changelog #
All notable changes to this project will be documented in this file.
Minor versions will be bundled with more important versions.
The format is influenced by Keep a Changelog.
Subsequently, the date entry follows YYYY-MM-DD format in accordance with the ISO 8601 standard.
This project adheres to Semantic Versioning.
0.1.2 - 2020-11-26 #
0.1.0 - 2020-11-20 #
-
Added
- History mixin to keep track of request history
- HTTP methods
- RequestRouted - exposes developer-friendly methods which take in routes
- RequestHandler - The handler of requests sent by clients
- DioAdapter without mockito
- Mocked version of DioAdapter
- Tast cases
- Non-sequential responding
-
Removed
- MockHandler - temporarily deprecated (ensures that mock data is saved and retrieved from the disk)
0.0.1 - 2020-11-09 #
- Added
- The MIT License