lomsa-dev/http-mock-adapter
A simple to use mocking package for Dio intended to be used in tests.
DartMIT
Issues
- 0
Cannot add Response to DioException in server.throws
#174 opened by fnemethy - 0
- 0
Latest registered callback is called when multiple HTTP methods have been mocked
#172 opened by orevial - 1
http_mock_adapter-0.4.4/lib/src/mixins/request_handling.dart:32:42: Error: A value of type 'FutureOr<List<int>>' can't be assigned to a variable of type 'List<int>'.
#171 opened by rakashpal - 3
- 2
QUESTION: how to use dio.simpleGet
#170 opened by alexlovar - 2
Allow timeout simulations in replies
#169 opened by kaminoan-dev - 7
Let server return different responses
#145 opened by AdrianDev0 - 2
Ability to mock whole API interface for local development without a need of a server.
#168 opened by cyberail - 0
LDClient.get() was called before init()!
#166 opened by LokeshDevMaersk - 0
Add methods onDownload & onDownloadUri
#163 opened by quoc-huynh-cosee - 1
Create ability to read mock response from file.
#105 opened by cyberail - 2
Semantic release with github action
#161 opened by sebastianbuechler - 8
http_mock_adapter 0.5.0 conflicts with flutter_test collection version.
#155 opened by quoc-huynh-cosee - 3
- 11
Selective mocking
#136 opened by ekimia - 1
- 11
Split up `MockServer` `reply` method into static and dynamic version
#153 opened by sebastianbuechler - 1
Async mocking not possible
#156 opened by sebastianbuechler - 2
- 1
- 3
Is there a way to have MockServerCallback's server parameter be strongly typed?
#130 opened by Desync-o-tron - 2
can i request to onDownload when add unit test ?
#137 opened by anggadwi16 - 0
Lower the Dart SDK constraint to 2.15.0
#143 opened by kuhnroyal - 9
- 0
route matches ignore `baseUrl`
#135 opened by corecode - 0
Dio object calls backend instead of returning the value set to dioAdapter.onPost.
#131 opened by vadrian89 - 2
- 1
- 16
- 1
- 2
- 1
Expected headers are ignored
#117 opened by kuhnroyal - 6
Mocking Post with FormData
#111 opened by ComplexCarbos - 2
DioError [DioErrorType.other]: Converting object to an encodable object failed: Instance of 'Genre'
#116 opened by thechinkysight - 7
Support multiple platforms (pub.dev)
#72 opened by GiorgiBeriashvili - 6
Incompatible with retrofit
#92 opened by elnurvl - 3
Create ability for delayed response:
#106 opened by cyberail - 26
- 4
Mocking non-JSON response
#107 opened by dricholm - 7
Always matches when one route was matched
#98 opened by Albert221 - 1
Chaining onGet expectations
#102 opened by LocaFoxNick - 3
- 2
can not test queryParameters case
#94 opened by AQ-TeppeiKikuchi - 6
Upgrade dependencies to the newest ones
#86 opened by mihailmerkov - 4
http_mock_adapter 0.1.6 depends on older version of mockito, please upgrade.
#89 opened by DarkHeros09 - 6
- 5
clear adapter call history
#77 opened by GusRodrigues86 - 17
Stream has already been listened to
#76 opened by areuokokok - 6