Skip to content

A community driven cookbook with recipes (i.e., examples) on how to test your flutter application.

License

Notifications You must be signed in to change notification settings

gadfly361/flutter_test_cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flutter_test_cookbook

A community driven cookbook with recipes (i.e., examples) on how to test your flutter application.

Recipes

There are three pillars of flutter tests:

  1. unit
  2. widget
  3. integration

This cookbook is mostly concerned with 2 and 3.

Currently, flutter_test is used for widget tests, and flutter_driver is used for integration tests. However, it is possible that flutter_driver could eventually be deprecated, and flutter_test could be used for both widget and integration tests.

We're moving away from flutter_driver in favour of extending flutter_test to work on devices.
- Hixie
https://github.com/flutter/flutter/issues/7474#issuecomment-558882182

Because of this, the recipes will be split out into two directories: flutter_test and flutter_driver

flutter_test recipes

flutter_driver recipes

External Resources

This section is a list of external resources that may be useful when exploring how to test your flutter application.

Written

Videos

Want to contribute?

First of all, thank you. Contributions are encouraged! Please follow the guidelines below.

Want to suggest a recipe?

If you'd like to suggest a recipe, please open an issue and add [recipe-suggestion] to the beginning of the title.

Want to add your own recipe?

If you'd like to add a recipe, please add [new-recipe] to the beginning of your PR's title.

Each recipe should:

  • be focused on a specific topic
  • be concise
  • have runnable tests
  • only check in 'meaningful' files

Note: if you want to get an early sense of whether or not your recipe will be accepted, please open a [recipe-suggestion] issue first.

Want to fix a typo?

If you'd like to fix a typo, please add [fix-typo] to the beginning of your PR's title.

Want to correct an error in an existing recipe?

If you'd like to correct an error in an existing recipe, please add [fix-recipe] to the beginning of your PR's title.

Want to add a link to an external resource?

If you'd like to add a link to an external resource, please add [add-resource] to the beginning of your PR's title.

LICENSE

Copyright © 2020 Matthew Jaoudi

Distributed under the The MIT License (MIT).

About

A community driven cookbook with recipes (i.e., examples) on how to test your flutter application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published