I've been playing with a Typescript project that doesn't yet have tests written. (Commit Adding Tests)
I've tried 2 different methods of adding tests written in Typescript.
- launch.json
- package.json
Both of these approaches currently work, and are able to be debugged via the normal task launch / debugging.
However I've tried 2 different VSCode Extensions, to add support to the test explorer to run these tests, to get better GUI and automatic feedback, visualize coverage etc.
Mocha-Sidebar and Mocha test Explorer
Neither of them have picked up the tests that I have written using the default configuration. And both of them have sparse documentation on how to setup Tests written in Typescript
All blog posts found online, currently seem to be relevant from testing from the command line / task launching.
How can Mocha-Sidebar or Mocha-Test-Explorer or Some other Test Explorer Adapter be configured to work with the tests in that commit.
And is it possible without committing further configuration files to the git repository, and have someone fork the project and be able to run the tests.
e.g. BDD style, inside test folder, named like test/hello-world.test.ts written in Typescript, With full debugging support.
