playbook_snapshot 0.1.2 copy "playbook_snapshot: ^0.1.2" to clipboard
playbook_snapshot: ^0.1.2 copied to clipboard

outdated

Playbook Snapshot package.

0.1.2 #

  • FIX: find by the scenario widget to take snapshots.

0.1.1 #

  • FIX: reset app for each test.

0.1.0 #

  • BREAKING CHANGE: TestTool needs WidgetTester instance which is created on testWidget. And testWidgets only needs to be called once.
Future<void> main() async {
  testWidgets('Take snapshots', (tester) async {
    await Playbook(
      stories: [],
    ).run(
      Snapshot(
        directoryPath: 'screenshots',
        devices: [],
      ),
      tester, // Pass in the `WidgetTester` created by the `testWidget`.
      (widget) {
        return MaterialApp(
          home: Material(child: widget),
        );
      },
    );

    // If you want to run `TestTool` multiple times, run it inside the` testWidgets` closure.
  });
}

0.0.3 #

  • FEAT: can be stop resizing Scrollable.

0.0.2 #

  • BUILD: bump deps.

0.0.1 #

  • initial release.
0
likes
0
pub points
59%
popularity

Publisher

unverified uploader

Playbook Snapshot package.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (LICENSE)

Dependencies

file, flutter, flutter_test, platform, playbook, yaml

More

Packages that depend on playbook_snapshot