playbook_snapshot 0.3.0+1 playbook_snapshot: ^0.3.0+1 copied to clipboard
Playbook Snapshot package.
0.3.0+1 #
- CHORE: fix playbook version.
0.3.0 #
- FEAT: can load assets that are included in dependencies.
- BREAKING CHANGE: upgrade sdk and flutter.
0.2.1 #
- FIX: Support
Scrollables
have noScrollController
.
0.2.0 #
- FEAT: Added support for defining fonts for
playbook_snapshot
inpubspec.yaml
.
0.1.3 #
- BREAKING CHANGE: SnapshotDevice change from enum to normal class.
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.