I got PHPunit working well, but now trying to set up JEST for JS unit testing. First thing I see is the only JS framework included is Mocha, but I use JEST / Jasmine for JS unit testing, so I have tried to create a custom entry.
This is what I have:
Basic:
Name: Jest
Path: C:\www\my_app_dir (Bear in mind this is windows but I use ubuntu bash on windows for cli)
Framework: Custom
Advanced (Optional)
Command: npm test (Again, bear in mind node & npm is installed on bash on windows (Ubuntu), but I installed it on windows anyway)
Parser: teamcity (not sure what option to use here)
Save To: project
When I try to run tests I get this output:
‘“npm”’ is not recognized as an internal or external command, operable program or batch file.
Is it even possible to do what I am trying?
Thanks.