Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Karma
Karma

487
313
+ 1
175
Nightwatchjs
Nightwatchjs

57
59
+ 1
0
Add tool

Karma vs Nightwatchjs: What are the differences?

Developers describe Karma as "Spectacular Test Runner for JavaScript". Karma is not a testing framework, nor an assertion library. Karma just launches a HTTP server, and generates the test runner HTML file you probably already know from your favourite testing framework. So for testing purposes you can use pretty much anything you like. On the other hand, Nightwatchjs is detailed as "Automated testing and continous integration framework based on node.js and selenium webdriver". Nightwatch.js is an easy to use Node.js based End-to-End (E2E) testing solution for browser based apps and websites. It uses the powerful Selenium WebDriver API to perform commands and assertions on DOM elements.

Karma and Nightwatchjs can be primarily classified as "Browser Testing" tools.

Some of the features offered by Karma are:

  • Test on Real Devices
  • Remote Control
  • Testing Framework Agnostic

On the other hand, Nightwatchjs provides the following key features:

  • e2e
  • test
  • javascript

Karma and Nightwatchjs are both open source tools. It seems that Karma with 10.7K GitHub stars and 1.61K forks on GitHub has more adoption than Nightwatchjs with 9.38K GitHub stars and 917 GitHub forks.

According to the StackShare community, Karma has a broader approval, being mentioned in 119 company stacks & 57 developers stacks; compared to Nightwatchjs, which is listed in 16 company stacks and 4 developer stacks.

What is Karma?

Karma is not a testing framework, nor an assertion library. Karma just launches a HTTP server, and generates the test runner HTML file you probably already know from your favourite testing framework. So for testing purposes you can use pretty much anything you like.

What is Nightwatchjs?

Nightwatch.js is an easy to use Node.js based End-to-End (E2E) testing solution for browser based apps and websites. It uses the powerful Selenium WebDriver API to perform commands and assertions on DOM elements.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Karma?
Why do developers choose Nightwatchjs?
    Be the first to leave a pro

    Sign up to add, upvote and see more prosMake informed product decisions

      Be the first to leave a con
        Be the first to leave a con
        Jobs that mention Karma and Nightwatchjs as a desired skillset
        OneSignalOneSignal
        San Mateo, California
        What companies use Karma?
        What companies use Nightwatchjs?

        Sign up to get full access to all the companiesMake informed product decisions

        What tools integrate with Karma?
        What tools integrate with Nightwatchjs?
        What are some alternatives to Karma and Nightwatchjs?
        Jasmine
        Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.
        Selenium
        Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
        BrowserStack
        Live, Web-Based Browser Testing Instant access to all real mobile and desktop browsers. Say goodbye to your lab of devices and virtual machines.
        LambdaTest
        LambdaTest is a cloud-based testing platform and it provides access to a powerful network cloud of 2000+ real browsers and operating system that helps testers in cross-browser and cross-platform compatibility testing.
        Sauce Labs
        Cloud-based automated testing platform enables developers and QEs to perform functional, JavaScript unit, and manual tests with Selenium or Appium on web and mobile apps. Videos and screenshots for easy debugging. Secure and CI-ready.
        See all alternatives
        Decisions about Karma and Nightwatchjs
        Benjamin Poon
        Benjamin Poon
        QA Manager - Engineering at HBC Digital | 7 upvotes 48.7K views
        PostgreSQL
        PostgreSQL
        React
        React
        ExpressJS
        ExpressJS
        Docker
        Docker
        GoCD
        GoCD
        GitHub
        GitHub
        Cucumber
        Cucumber
        JavaScript
        JavaScript
        Selenium
        Selenium
        Nightwatchjs
        Nightwatchjs

        For our digital QA organization to support a complex hybrid monolith/microservice architecture, our team took on the lofty goal of building out a commonized UI test automation framework. One of the primary requisites included a technical minimalist threshold such that an engineer or analyst with fundamental knowledge of JavaScript could automate their tests with greater ease. Just to list a few: - Nightwatchjs - Selenium - Cucumber - GitHub - Go.CD - Docker - ExpressJS - React - PostgreSQL

        With this structure, we're able to combine the automation efforts of each team member into a centralized repository while also providing new relevant metrics to business owners.

        See more
        Interest over time
        Reviews of Karma and Nightwatchjs
        No reviews found
        How developers use Karma and Nightwatchjs
        Avatar of Riderman De Sousa Barbosa
        Riderman De Sousa Barbosa uses KarmaKarma

        All services, directives and controllers from angular are tested using Karma.

        Avatar of Ron Apelbaum
        Ron Apelbaum uses KarmaKarma

        I use Karma as a test runner for javascript unit tests

        Avatar of Giovanni Candido da Silva
        Giovanni Candido da Silva uses KarmaKarma

        Run unit and integration tests on real browsers

        Avatar of Glib Ischenko
        Glib Ischenko uses KarmaKarma

        Running Unit tests for Angular UI

        Avatar of Typeform
        Typeform uses KarmaKarma

        Testing frontend of admin part

        How much does Karma cost?
        How much does Nightwatchjs cost?
        Pricing unavailable
        Pricing unavailable
        News about Karma
        More news
        News about Nightwatchjs
        More news