mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Resolve tests per file instead of per crate in test explorer
This commit is contained in:
parent
ad51a17c62
commit
beec6914c8
8 changed files with 143 additions and 41 deletions
|
@ -83,7 +83,11 @@ export type TestItem = {
|
|||
range?: lc.Range | undefined;
|
||||
runnable?: Runnable | undefined;
|
||||
};
|
||||
export type DiscoverTestResults = { tests: TestItem[]; scope: string[] };
|
||||
export type DiscoverTestResults = {
|
||||
tests: TestItem[];
|
||||
scope: string[] | undefined;
|
||||
scopeFile: lc.TextDocumentIdentifier[] | undefined;
|
||||
};
|
||||
export type TestState =
|
||||
| { tag: "failed"; message: string }
|
||||
| { tag: "passed" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue