FetFrumos
FetFrumos

Reputation: 5964

How to create integration test for app with Firebase Auth?

I created a Flutter app. My app uses Firebase Auth.
I need to create integration tests for my app, but I don’t know how to do this if I need to enter my login and password.
I'm new to flutter and this is a problem for me. I will be grateful for any help.

Upvotes: 2

Views: 794

Answers (1)

creativecreatorormaybenot
creativecreatorormaybenot

Reputation: 126854

For integration testing, Flutter provides FlutterDriver.
To get started, you can view the official guide.

Once you are familiar with how FlutterDriver works, you will be able to login using a combination of FlutterDriver.tap and most importantly FlutterDriver.enterText.

Upvotes: 3

Related Questions