Run Jasmine tests from WebStorm

WebStorm shows icons next to Jasmine test cases, and it seems like it should be able to run it, but the menu simply says no.

WebStrom test suite

Since I haven't found any documentation about this feature, I'm wondering if it is possible to run such tests, and if so, what are the conditions.

+3


source to share


1 answer


This probably means that no suitable test strips were found. WebStorm does not control test run directly. This work is done by the tester. WebStorm supports several test runners - Mocha, Karma, Jest, JsTestDriver, nodeunit, ... The logic used to determine which test runner is available for a given test file is based on the dependency declarations in the nearest file package.json

.



+1


source







All Articles