Closed
Description
I mentioned this in #1641. I am opening a separate issue for discussing a specific change.
I would like to refactor goTest
, testUtil
, and goTestExplorer
to all work together:
- Rework
goTest(tc: TestConfig)
intorunTests(rq: vscode.TestRunRequest, tc: TestConfig)
and remove the properties ofTestConfig
that can easily be determined from theTestRunRequest
. - Refactor
{test,runTest,subTest}AtCursor
andtest{CurrentFile,CurrentPackage,Workspace}
to work in terms of the test API/controller. For example,testAtCursor
would become "Find the TestItem corresponding to the cursor location" andrunTests(new vscode.TestRunRequest([testItemAtCursor]), testConfig)
.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done