convenient_test 1.5.1 copy "convenient_test: ^1.5.1" to clipboard
convenient_test: ^1.5.1 copied to clipboard

Write and debug tests easily, with full action history, time travel, screenshots, rapid re-execution, video records, interactivity, isolation and more

example/lib/main.dart

import 'package:convenient_test/convenient_test.dart';
import 'package:convenient_test_example/home_page.dart';
import 'package:convenient_test_example/random_page.dart';
import 'package:convenient_test_example/second_page.dart';
import 'package:convenient_test_example/text_field_page.dart';
import 'package:convenient_test_example/timer_page.dart';
import 'package:convenient_test_example/zoom_page.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  static final navigatorKey = GlobalKey<NavigatorState>();

  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return ConvenientTestWrapperWidget(
      child: MaterialApp(
        title: 'Example',
        navigatorKey: MyApp.navigatorKey,
        initialRoute: '/home',
        routes: {
          '/home': (_) => const HomePage(),
          '/second': (_) => const SecondPage(),
          '/timer': (_) => const TimerPage(),
          '/zoom': (_) => const ZoomPage(),
          '/text_field': (_) => const TextFieldPage(),
          '/random': (_) => const RandomPage(),
        },
      ),
    );
  }
}
134
likes
160
points
4.16k
downloads

Publisher

verified publishercjycode.com

Weekly Downloads

Write and debug tests easily, with full action history, time travel, screenshots, rapid re-execution, video records, interactivity, isolation and more

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter

More

Packages that depend on convenient_test