tree: c8564bbe7bef04ae1d17e7525209eb28970162c5 [path history] [tgz]
  1. diagnostics_test.dart
  2. precondition_test.dart

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 ellided 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/