0

I know that there has been many questions about javascript test frameworks. But, I'm confusing which one I should choose as all are new to me. I'm now using Jake with Geddy alongside node.js. I uses Jake because it comes with Geddy by default. I'm looking for another better testing framework that meets my following requirements:

  1. Single test run (Mocha or any other suggestion?)
  2. Both CLI and browser support
  3. Huge community
  4. Use with node.js

I run into problem with Jake for single test run and so it would be a major requirement. Huge community is also important for me. If tests can be run via browser would be plus.

Community
  • 1
  • 1
Sithu
  • 4,752
  • 9
  • 64
  • 110
  • This is OT for SO as per the FAQ. – Dave Newton Dec 18 '14 at 11:30
  • Off-topic? Programmers who has many experiences on this topic are here and it is something related to programming. – Sithu Dec 18 '14 at 11:49
  • Recommendations for, and lists of, things, are OT for SO as per the FAQ. Opinions (e.g., "best") are *also* OT for SO as per the FAQ. – Dave Newton Dec 18 '14 at 13:50
  • @DaveNewton [This](http://stackoverflow.com/questions/300855/javascript-unit-test-tools-for-tdd) and [that](http://stackoverflow.com/q/5370222/1179841) were not marked as off-topic and were not closed. – Sithu Dec 18 '14 at 15:27
  • So what? Also note that in 2008, when the question was asked, questions like that were not OT. The nature of *other* questions is not relevant to the nature of *this* question. I don't even understand why there's a discussion here: what I'm saying is *documented policy*. – Dave Newton Dec 18 '14 at 15:55
  • Just curious to know. – Sithu Dec 18 '14 at 16:19

1 Answers1

0

I think most test runners support your first requirement.

The ones with the biggest communities are Jasmine, Mocha and Chai. You can run both of them in both browser, CLI, and node.

Sithu
  • 4,752
  • 9
  • 64
  • 110
Jeff Ling
  • 1,032
  • 9
  • 12