I’m following the vscode
Testing Extensions docs. There seem to be 2 different configurations described.
My questions:
- Are these configurations mutually exclusive or can / should they be configured together.
- Which use cases are better suited for the CLI vs the custom configuration?
>Solution :
They are not mutually exclusive. You can use both, choose one based on your needs:
-
Use Test CLI for straightforward integration with established tools
-
Use custom runner for unique or complex requirements
-
Test CLI: Best for simplicity and consistency with existing frameworks
-
Custom runner: Best for custom or specialized testing needs
It’s how I use them, sometimes together