tree: 98a3e3dae4d560821bb5136f46fe630080aa9dc4 [path history] [tgz]
  1. foundation/
  2. rendering/
  3. widgets/
  4. diagnostics_test.dart
  5. precondition_test.dart
  6. README.md
packages/flutter/test_release/README.md

This folder contains unit tests that are run with kReleaseMode set to true. This can be used for unit testing code that is guarded by this boolean, such as in cases where debug code is intentionally elided for performance or code size reasons. The unit tests are still run in the VM and are not otherwise precompiled.

To run these test from the command line, use the command: flutter test --dart-define=dart.vm.product=true test_release/