Skip to content

Commit

Permalink
Add 11.md with basic skeleton
Browse files Browse the repository at this point in the history
Signed-off-by: Csongor Vogel <[email protected]>
  • Loading branch information
gerfalcon committed May 1, 2021
1 parent 42607da commit 2f3174e
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/.idea
/local
/local

# Flutter versions related
.fvm/
33 changes: 33 additions & 0 deletions material/11.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# How to use Platform-specific APIs with Platform Channels and testing Flutter Apps

In the previous chapters we've learned how could we use Flutter APIs.

## Platform Channels

## Introduction to test Flutter applications
TODO

### Unit tests

#### Writing the first unit test

#### Testing model classes

#### Testing Platform Channels

#### Testing BloCs

### Widget tests
TODO

## Further reading, materials

- [Writing custom platform-specific code](https://flutter.dev/docs/development/platform-integration/platform-channels)
- [Flutter Platform Channels](https://medium.com/flutter/flutter-platform-channels-ce7f540a104e) by Mikkel Ravn
- [Intro to Platform Channels: Building an Image Picker in Flutter](https://codewithandrea.com/articles/platform-channels-flutter/) by Andrea Bizzotto
- [Your Own Image Picker With Flutter Channels](https://www.raywenderlich.com/2882495-your-own-image-picker-with-flutter-channels) by JB Lorenzo

- [Testing Flutter apps](https://flutter.dev/docs/testing)
- [An introduction to unit testing](https://flutter.dev/docs/cookbook/testing/unit/introduction)
- [Mock dependencies using Mockito](https://flutter.dev/docs/cookbook/testing/unit/mocking)
- [An introduction to widget testing](https://flutter.dev/docs/cookbook/testing/widget/introduction)

0 comments on commit 2f3174e

Please sign in to comment.