microsoft / vscode-java-test

Run and debug Java test cases in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-test
Other
292 stars 125 forks source link

Refactor the testController.ts #1636

Open jdneo opened 9 months ago

jdneo commented 9 months ago

Currently the runTests() of testController.ts is too complicated. What's the meaning of IRunOption and IRunTestContext

Since the debugger's progress reporter api has released for years, we can assume the API is always available and simplify it.

https://github.com/microsoft/vscode-java-test/blob/22a11be0c6074c536e40b7b2e4c8fdb05c8803dd/src/controller/testController.ts#L145