automated_testing_framework_plugin_images 4.0.0+8 copy "automated_testing_framework_plugin_images: ^4.0.0+8" to clipboard
automated_testing_framework_plugin_images: ^4.0.0+8 copied to clipboard

discontinued
outdated

Library to use provide image capture and comparison capabilities to the Automated Testing Framework.

Table of Contents

automated_testing_framework_plugin_images #

Table of Contents #

Introduction #

This plugin provides test steps that allow for direct widget images, obscuring or hiding widgets, and performing golden image comparisons. This plugin currently is known not to work on Web.

Running Example #

The first step in the process is to make sure your app is setup and registered with Google's Firestore console and the appropriate files have been added to your application's manifests. For a great guide on this process, see https://firebase.flutter.dev/docs/overview.

As a note, the example app is a fully functioning app on Firebase Storage, but you must add in your own project. You don't get to use mine at my cost... :)

Quick Start #

In addition to the Firebase Storage metadata files, the example also requires a file under assets/login.json that follows this structure:

{
  "username": "username-goes-here",
  "password": "password-goes-here"
}

This is used to log in to Firebase using the email / password mode and is designed to encourage good test behavior by starting with an authenticated mode rather than a "world read / world write" mode that can be dangerous for your data.

Once that file, plus the Firestore metadata files, is provided you should have a working example that can read, write, and report out tests.

Supported Platforms #

This has been tested on Android and iOS.