What are the best Node.js test frameworks?

asked by Anonymous
44 contributors
6 solutions
  1. 15

    #1Mocha

    Mocha
    Mocha is a JavaScript test framework that runs on both node.js and the browser. Mocha will help you to make asynchronous testing more simple, easy and fun. Mocha tests run serially, a feature that allows and permits a flexible and accurate reporting while mapping exceptions. 
    Websites

    Free

    Tyler Murray
    Written on May 27, 2017
    "Perfect for testing out your latest JavaScripts. Extensive debugger support and automatic exits for when something accidentally goes wrong and you end up in those annoying infinite loops. A must have product for all those interested in serious Javascript development."
  2. 9

    #2Jest

    Jest
    Jest is a complete and easy to set up JavaScript testing solution used by Facebook to test all JS code including React applications.
    Software

    Other Platform

    Free

    Christina Davidson
    Written on September 22, 2017
    "Jest is a javascript testing platform,used by many companies to test their products. It is a complete solution and allows instant feedback. "
  3. 6

    #3Jasmine

    Jasmine
    Jasmine is a testing framework for Javascript based in open source software and is used to run on JavaScript platforms without intruding in the app or the IDE. It has a very easy to read syntax and is based in other testing frameworks like ScrewUnit or JSSpec.

    Websites

    Free- Free

    Janet Gomez
    Written on September 22, 2017
    "This is very basic and highly functional. Great place to test code and doesn't require a lot of other information. "
  1. 5

    #4tape

    tape
    Tape is a tool for tap-producing tests on Meteor for node and browser that requires a few amount of APIs. It can be used for testing also unit and integration.

    Software

    Windows

    Free

    Roger Fox
    Written on May 29, 2017
    "I have know idea how to code and have no idea what is Node.js, all I know it involves coding which I am not adept at all to understand. But from what I can see, I can only assume this is a good solution and I will thus praise it, even though it wasn't quite the sufficient answer I was looking for."
  2. 3

    #5Vows

    Vows
    Vows is a behavior driven development framework for Node.js built with speed of execution, clarity and user experience in mind, for testing asynchronous code. It executes your tests in parallel when it makes sense, and sequentially when there are dependencies. 
    Software

    Other Platform

    Free

    Kyle Harris
    Written on April 4, 2017
    "Great testing framework. I was able to test all my Node.js code quickly and effectively, in a clear and concise fashion. This was a great download. Thanks. "
  3. 0

    #6Chai

    Chai
    Chai is a BDD / TDD assertion library for node and the browser that can be paired with any javascript testing framework.
    Software

    Other Platform

    Free

    Joe Barnett
    Written on September 22, 2017
    "Chai can be paired with any JavaScript testing network. Several interfaces are offered allowing the user to select the most appropriate and readable style. Developers can build their own plugins to share with a community. You can also browse a directory of,previously created plugins. A very functional product."

Summary

Best What are the best Node.js test frameworks
RankSolutionsTypeVotesPrice
1MochaWebsites 15 Free
2JestSoftware 9 Free
3JasmineWebsites 6 Free
4tapeSoftware 5 Free
5VowsSoftware 3 Free
6ChaiSoftware 0 Free
Close

This action requires you to be logged in

Quickly sign in with your social media account:

What interests you most? (Select at least 3)

This will help us to keep things fresh and relevant!

Close

Now that you’ve found a solution...

Why not join our community of sharp minds and pro-active posters?

Be part of a rewarding interactive knowledge exchange!
Close

Join These Inquisitive Minds

Engage, learn and share with a friendly community versed in a massive range of trending topics.