cake_flutter 0.5.0 cake_flutter: ^0.5.0 copied to clipboard
The lightweight, explicit testing framework - built for Flutter.
0.5.0 (2024-05-24) #
- [ADD] Added options to setApp that includes Localization data
0.4.0 (2023-12-30) #
- [ADD][Search] Added tap() action as a shortcut for .first.tap()
- [ADD][Expect] Added expects: searchHasNone, searchHasOne, searchHasSome that searches for a number of widgets that works similar to the find matchers.
- [MOD][Search] Search can now be run without indexing first - it will run with full search tree, which while not ideal, might help with quick and dirty tests.
- [ADD][Search] Added indexing by Key.
- [ADD] Error widgets that appear will not be reported when indexed. This can be ignored through IndexOptions.
- [ADD] Added options to setApp that includes: Scaffold, MaterialApp, Directionality, and ThemeData.
- [ADD][Search] Added reference to widget when searching a group by type
0.3.4 (2023-12-29) #
- [PKG] Updated Cake to 6.0.1, enabling filtering flags to be used in the CLI.
0.3.3 (2023-12-28) #
- [FIX][Search] Fixed children reference for Search not showing up properly when fetched through asType.
0.3.2 (2023-12-27) #
- [META] Added example folder
- [META] Updated README.md
- [META] Cleaned up some testing package files
0.3.1 (2023-12-26) #
- [FIX] Fixed flutter_tester hanging after tests are complete.
- [MOD] Included IndexOptions to main library.
- [ADD] Added TestAsyncUtils.guard() to all current async operations to protect against un-awaited calls. This should make it work similar to how flutter_test works.
0.3.0 (2023-12-26) #
- [ADD] Added IndexOptions to search. IndexOptions currently allows for only certain widget types to be indexed for better search performance and shows debugging options for printing to the console.
- [ADD][Search] Search will now throw an error if an un-indexed type is searched.
0.2.0 (2023-12-25) #
- [ADD][Expect] Added isWidgetType to match against a TestElementWrapper.
- [ADD] Added a reference to children, if any, for each TestElementWrapper.
- [ADD][Search] Added key to allow searching by key. This will return a single TestElementWrapper rather than a collection.
0.1.0 #
- Scrubbed, ignore this tag.
0.0.1 (2023-12-24) #
- Initial release. CLI is still work in progress, but running files individually with
flutter test [file]
should work.(Note: there's a bug where it hangs after finishing. PressThis was fixed with 0.3.1.ctrl+c
to close.)