tree: 50bff2c6f69f34cb842392d7c48b17b726e97e2f [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/