For Flutter Web engine we use --build-filter flag for building all the unit tests: https://github.com/flutter/engine/blob/master/lib/web_ui/dev/test_runner.dart#L468
It works fine in Linux. However in Windows the following error encountered:
Building 77 targets for HTML
The command line is too long.
Failed to compile tests. Compiler exited with exit code 1
This tracker is for issues related to: dart2js
Dart SDK Version: 2.10 This issues is observed on the previous version as well.
Operating system: Windows