Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run VSCode Integration Tests through typescript files #19

Open
AnanyaJha opened this issue Mar 1, 2019 · 3 comments
Open

Run VSCode Integration Tests through typescript files #19

AnanyaJha opened this issue Mar 1, 2019 · 3 comments

Comments

@AnanyaJha
Copy link

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 bpasero self-assigned this Mar 2, 2019
@bpasero
Copy link
Member

bpasero commented May 29, 2019

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

@bpasero bpasero assigned octref and unassigned bpasero May 29, 2019
@octref
Copy link
Contributor

octref commented May 29, 2019

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

@roco1234
Copy link

any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants