adaptive_test
adaptive_test copied to clipboard
Devtools to write stunning widget test in Flutter. Made by BAM ❤️💙💛
Add support for skipping tests instead of failing them based on the enforced target platform defined in the `AdaptiveTestConfiguration` class. ```dart Future testExecutable(FutureOr Function() testMain) async { TestWidgetsFlutterBinding.ensureInitialized(); AdaptiveTestConfiguration.instance ..setSkippedTestPlatform(TargetPlatform.macOS)...
Extended
Changes - Added Melos to easily maintain packages (thats why files has been restructured) - Add custom goldens name factory - Add custom skip for goldens - Fix awaitImages (if...
### Ressources: https://www.youtube.com/watch?v=vtB-teu57vw https://github.com/google/flutter-desktop-embedding/issues/98 https://api.flutter.dev/flutter/flutter_test/TestFlutterView-class.html
It would be nice to see the status bar, with the right brightness in golden files.
Hi, I would like to run tests in landscape mode (left/right) but I get strange results regarding the alignment of notch and punch hole. Maybe this feature could be added...
# Why Inspired by [Golden toolkit font_loader.dart](https://github.com/eBay/flutter_glove_box/blob/5af8ed5285d9fa261e5db054cbeab22814a93e32/packages/golden_toolkit/lib/src/font_loader.dart) use of `FontManifest.json` that references all fonts by packages in `build/unit_test/assets` folder Use `loadAppFonts` instead of `loadFonts` or `loadFontsFromPackage` # Todo - [x]...
For custom paths for golden files I added pathBuilder into expectGolden tester function.
Hi, I would like to propose exposing `version` param in `expectGolden` and pass it under the hood into `matchesGoldenFile`. Parameter would be optional so this won't be a breaking change...
Currently, there is no easy way to load a custom icon font to see them appear in the generated golden files (ex: https://pub.dev/packages/material_symbols_icons) It would be nice to have a...
- Added iPhone 16 and Pixel 9 - For iPhone screen info, this website was used : https://screensizes.app/?device=iphone - For Android screen info, this website was used : https://blisk.io/devices/details/google-pixel-8 -...