Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thesmartmonkey/flutter-http-widget-test
Simple exemple of how to test a http request in a widget test on a button click
https://github.com/thesmartmonkey/flutter-http-widget-test
dart flutter flutter-test flutter-tests
Last synced: 19 days ago
JSON representation
Simple exemple of how to test a http request in a widget test on a button click
- Host: GitHub
- URL: https://github.com/thesmartmonkey/flutter-http-widget-test
- Owner: TheSmartMonkey
- License: mit
- Created: 2022-07-18T12:29:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-28T17:13:58.000Z (over 2 years ago)
- Last Synced: 2024-11-05T13:13:47.721Z (2 months ago)
- Topics: dart, flutter, flutter-test, flutter-tests
- Language: Dart
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flutter-http-widget-test
Simple exemple of how to test a http request in a widget test on a button click
this repo is related to this stack overflow post : https://stackoverflow.com/questions/73015849/how-to-spyon-stub-an-http-request-in-a-flutter-widget-test/73043721#73043721
## Installation
```sh
npx degit https://github.com/TheSmartMonkey/flutter-http-widget-test app
```## Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.