tree: 163ac72b19d6b709547f06d739c5aa96b33e74cb [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/