How to run Jasmine tests on Node.js from command line
How do I run Jasmine tests on Node.js from command line? I have installed jasmine-node via npm and written some tests. I want to run tests inside the spec directory and get results in the terminal, is this possible? EDIT It seems this is no longer the current best answer as the package is unmaintained. Please see the answer below You can do this from your test directory sudo npm install jasmine-node This installs jasmine into ../node_modules/jasmine-node then ../node_modules/jasmine-node/bin/jasmine-node --verbose --junitreport --noColor spec which from my demo does this Player - 5 ms should