You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Run All Tests" passes all individual suite names for all projects when only some projects have exclusions #4553
changed the title [-]Running tests on windows is passing each individual test file instead of a single folder glob[/-][+]"Run All Tests" passes all individual suite names for all projects when only some projects have exclusions (plus uses long absolute paths)[/+]on May 18, 2023
changed the title [-]"Run All Tests" passes all individual suite names for all projects when only some projects have exclusions (plus uses long absolute paths)[/-][+]"Run All Tests" passes all individual suite names for all projects when only some projects have exclusions[/+]on May 20, 2023
@dmrickey I pinged you on Discord, but in case you miss it, this is available in the v3.67.20230619 pre-release I just pushed. Please let me know if it doesn't/doesn't resolve the issue.
Activity
DanTup commentedon May 18, 2023
This happens when we're not running "everything" (such as if there are some exclusions that prevent us just doing
flutter run test test).Unfortunately, our check for whether we're running everything is for the whole run, and not per-project:
Dart-Code/src/extension/test/vs_test_controller.ts
Line 71 in f854d99
This means if you exclude a test from ProjectA, then ProjectB will also be run by including all of the filenames.
At a minimum, we should attempt to group the exclusions into their projects, so we can still run "all" for the projects without exclusions.
Additionally:
[-]Running tests on windows is passing each individual test file instead of a single folder glob[/-][+]"Run All Tests" passes all individual suite names for all projects when only some projects have exclusions (plus uses long absolute paths)[/+]DanTup commentedon May 18, 2023
Note to self: ping @dmrickey on Discord when a fix is available as a pre-release extension.
[-]"Run All Tests" passes all individual suite names for all projects when only some projects have exclusions (plus uses long absolute paths)[/-][+]"Run All Tests" passes all individual suite names for all projects when only some projects have exclusions[/+]Allow running tests by folder when there are exclusions in other proj…
DanTup commentedon Jun 19, 2023
@dmrickey I pinged you on Discord, but in case you miss it, this is available in the v3.67.20230619 pre-release I just pushed. Please let me know if it doesn't/doesn't resolve the issue.
Allow running tests by folder when there are exclusions in other proj…