When working on a feature, I typically run a small selection of tests very frequently.
AI tools , be it via IDE or standalone agents, also typically run tests in a single file via "dotnet test --filter" to iterate quickly.
I noticed that if the build speed bothers me, I just comment out all but 1 "" item in the .fsproj in ComponentTests.
I am writing it here as an issue just to see if:
- Others do that too
- There is perhaps a clever way to detect that "--filter" with a single file/module/type has been passed to botnet test, and we could conditionally choose items to compile.
- We could somehow teach agents to do it
This is highly specific to this repo only, it assumes that all Compile items in the test project are independent (except perhaps xunit setup) and can be freely removed.