Closed nojaf closed 1 year ago
Thanks @nojaf , I somehow missed this.
I'm wondering if we should move away from putting real test projects and their FSharpProjectOptions
in the codebase and instead generate them, especially if all we care about is the project graph rather than source code details.
It would make these tests much easier to write and cheaper to maintain.
Could be useful in other tests and benchmarks as well.
This is a proposal to include a unit test that asserts no projects were referenced twice.
Calling
checker.GetBackgroundCheckResultsForFileInProject
for a file in project A should not evaluate project C twice.