Intelli-j to run tests vs command line

Has anyone been able to run tests in Intelli-j? There are no plugins available and I have to run the tests from the command line in git bash vs being able to run the test in the IDE.

thanks

I have. You should add a configuration. You can read how from here https://www.jetbrains.com/help/idea/creating-and-editing-run-debug-configurations.html

You should add a Node.js configuration which have these fields

In Javascript file field you should write the path to codeceptjs e.g node_modules/.bin/codeceptjs
In Application parameters field you should write codeceptjs run parameters e.g run --steps --verbose

1 Like