sourcekit-lsp
sourcekit-lsp copied to clipboard
Merge index-based and syntactic test discovery results
In the textDocument/tests request, we can use syntactic test discovery to discover tests that weren’t built during indexing.
- Run an active regions sourcekitd request
- If there are inactive regions, discover tests from the inactive regions
- Add the syntactically discovered tests from the inactive regions to the tests discovered from the index
rdar://125496140