flutter/packages/flutter_tools/test/commands.shard
Ben Konyi 9c7e2c2563
[ Widget Preview ] Move preview_detector_test.dart from general.shard to commands.shard (#163619)
Tests under the `general.shard` have a 2000ms timeout and these tests
write to the real file system and watch directories for changes. This
can be slow on heavily loaded machines and cause flaky failures.
2025-02-19 22:53:35 +00:00
..
hermetic [ Widget Preview ] Move preview_detector_test.dart from general.shard to commands.shard (#163619) 2025-02-19 22:53:35 +00:00
permeable Finish removing null-safety mode, checks, and reporting. (#163153) 2025-02-12 21:52:02 +00:00
README.md Move commands into their own shard (#39140) 2019-10-02 12:46:51 -07:00

This directory contains tests for specific flutter commands.

Tests that are self-contained unit tests should go in hermetic/.

Tests that are more end-to-end, e.g. that involve actually running subprocesses, should go in permeable/.

The ../../tool/coverage_tool.dart script (which is used to collect coverage for the tool) runs only the tests in the hermetic directory when collecting coverage.