I have some sets of Jest test cases that run Puppeteer browser tests.
I have tried these test runners
- Jest (vscode-jest)
- Jest Test Explorer (Jest Test Explorer for Visual Studio Code)
- Jest Runner (vscode-jest-runner)
To me, I like Jest Test Explorer the most but it always auto-start running test cases. As you can imagine, a lot of Chrome browser instances get launched when I open a project with VS Code.
I found some configurations but they cannot prevent auto-run test cases.
"testExplorer.onStart": "reset"
, or set to null"testExplorer.onReload": "reset"
, or set to null
FYI, an example UI of Jest Test Explorer
Jest (vscode-jest
) is a good runner but I can't stop auto-run with these settings as well.
"jest.runAllTestsFirst": false,
"jest.autoEnable": false,
"jest.showCoverageOnLoad": false
Therefore, right now Jest Runner (vscode-jest-runner) is the only runner that does not auto-start unit tests.
In addition, if you have any other test runners to suggest, please let me know.
Thank you so much.