playbook_snapshot 0.1.2 playbook_snapshot: ^0.1.2 copied to clipboard
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
needsWidgetTester
instance which is created ontestWidget
. AndtestWidgets
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.