How to do integration testing for already developed project

Hello team,

I have a query on how to do unit, widget and integration testing for already developed project, it is possible to do end to end testing in flutter.

Issue here i am facing is,the project is developed with many dependencies like firebase, hive, provider and bloc. any reference or public github projects is refered most appreciated.

Thanks in advance.!

It’s possible to conduct unit, widget, and integration testing on a Flutter project, even if it has already been developed and has many dependencies.

Here are some relevant Kodeco articles:

As you have asked for GitHub examples, check out the flutter-testing-tutorial repository. This project provides a thorough example of performing unit, widget, and integration testing in a Flutter application. You can see how they structured their tests and handled dependencies, and you might find it a good reference for setting up tests in your project​. However, the project has not been updated for over two years, so you may find running on current Flutter versions challenging.

2 Likes