I followed the instructions to clone the latest master branch into my local directory, installed all dependencies and finished the build procedure, however I was not able to run the test cases. Below error is emitted after executing rake test:
throw new Error('Can\'t set headers after they are sent.');
Error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (http.js:650:11)
at Object.oncomplete (fs.js:308:15)
at process._makeCallback (node.js:248:20)
Command failed with status (1): [testacular start testacular-jqlite.conf.js...]
I have same problem. What version of nodejs do you have? I think it might be related because i've upgraded to v0.9.3
and now I've this error. Downgrading to v0.8.15 helped. Now it's working fine.
I encountered this problem, and solved it by switching from testacular to karma (testacular was renamed to karma).
Karma is the right tool but now the best thing to do is run grunt test.