automated_testing_framework 0.1.1 copy "automated_testing_framework: ^0.1.1" to clipboard
automated_testing_framework: ^0.1.1 copied to clipboard

discontinued
outdated

A testing framework that allows in app tests to be built and executed in an automated way.

example/lib/main.dart

import 'package:example/src/components/app.dart';
import 'package:flutter/material.dart';
import 'package:logging/logging.dart';

void main() {
  Logger.root.level = Level.ALL;
  Logger.root.onRecord.listen((record) {
    // ignore: avoid_print
    print('${record.level.name}: ${record.time}: ${record.message}');
    if (record.error != null) {
      // ignore: avoid_print
      print('${record.error}');
    }
    if (record.stackTrace != null) {
      // ignore: avoid_print
      print('${record.stackTrace}');
    }
  });
  runApp(App());
}