sourcekit-lsp icon indicating copy to clipboard operation
sourcekit-lsp copied to clipboard

Merge index-based and syntactic test discovery results

Open ahoppen opened this issue 1 year ago • 0 comments

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

ahoppen avatar May 13 '24 16:05 ahoppen