ozzie.flutter
Ozzie is your testing friend. Ozzie will take an screenshot during integration tests whenever you need.
How it works
Add ozzie
to your pubspec.yaml
as a dev_dependency:
In your Flutter integration tests, create an instance of Ozzie
, pass the FlutterDriver
, give it a groupName
and ask it to takeScreenshot
. That simple! And whenever you have finished with tests, you can create an HTML report by asking Ozzie
to generateHtmlReport
.
Here's an example:
After this, a report will be generated inside your project as ozzie/index.html
: