convenient_test 1.3.5 copy "convenient_test: ^1.3.5" to clipboard
convenient_test: ^1.3.5 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(),
        },
      ),
    );
  }
}
102
likes
140
pub points
83%
popularity

Publisher

verified publishercjycode.com

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