I am new to nodeJS and Jake but in my company they are using it to run unit tests.This is how they are running unit tests through ant
<exec executable="cmd" dir="${nodeJsTests.basedir}/../nodejs/">
<arg value="/C"/>
<arg value="start cmd /C "npm install & .\node_modules\.bin\jake local dir=${basedir} --trace & pause"" />
</exec>
From what I understood is they are doing the following things in this piece of code, do correct me if I am wrong
- Going to nodejs driectory.
- Installing jake at a particular location (.\node_modules.bin\jake)
- Run unit tests
I want to achieve the same(run the tests), without using ant.I think I am able to do first two steps but stuck in the third step.I tried running command - Jake local from various directories but no success
If anyone can help me on this?
Aucun commentaire:
Enregistrer un commentaire