Coder Social home page Coder Social logo

albertdugba / flutter_test_cookbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gadfly361/flutter_test_cookbook

0.0 0.0 0.0 87 KB

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

License: MIT License

Dart 98.69% Shell 1.31%

flutter_test_cookbook's Introduction

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).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.