hbenl / vscode-jasmine-test-adapter

Jasmine Test Adapter for the VS Code Test Explorer
MIT License
20 stars 20 forks source link

Adapt for use with Jest? #20

Closed ethanroday closed 5 years ago

ethanroday commented 5 years ago

There is much interest in the main Test Explorer repo to have an adapter for Jest (https://github.com/hbenl/vscode-test-explorer/issues/14). Would it be straightforward to port this one or make it configurable, since Jest uses Jasmine under the hood?

hbenl commented 5 years ago

No, I've looked into this and found that a separate adapter would be needed because the main integration points (the API for starting a test run and the Reporter API) are both different. I've described the main challenges for writing a Jest adapter in the issue you linked to and hope that there is enough interest so that someone will start working on this.