automated_testing_framework 0.1.1 automated_testing_framework: ^0.1.1 copied to clipboard
A testing framework that allows in app tests to be built and executed in an automated way.
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());
}