microsoft / vscode-test

Testing utility for VS Code extensions
MIT License
238 stars 57 forks source link

Run VSCode Integration Tests through typescript files #19

Open AnanyaJha opened 5 years ago

AnanyaJha commented 5 years ago

We currently use Mocha to run all of our tests through the out/ folder within our repository. We want to switch to using ts-node in conjunction with mocha so that we can run the tests and collect coverage information (with NYC) through the typescript files, rather than compiled javscript. This works fine for unit tests, but it doesn't seem to work with vscode-integration tests. I believe due to the way the extension development host is launched, it is looking specifically for a javascript extension so can't interpret our typescript files. Is it possible to change that so that we are able to also run vscode-integration tests through the typescript files? Thanks!

bpasero commented 5 years ago

@octref this is possibly now with your work in vscode-test?

octref commented 5 years ago

Not possible yet. Test runner can only be js for now.

roco1234 commented 6 months ago

any update on this?