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

QUnit

105
80
+ 1
17
Selenium

13.7K
11K
+ 1
522
Add tool

QUnit vs Selenium: What are the differences?

Developers describe QUnit as "A JavaScript Unit Testing framework". QUnit is a powerful, easy-to-use JavaScript unit testing framework. It's used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code, including itself!. On the other hand, Selenium is detailed as "Web Browser Automation". 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.

QUnit and Selenium are primarily classified as "Javascript Testing Framework" and "Browser Testing" tools respectively.

"Simple" is the top reason why over 4 developers like QUnit, while over 149 developers mention "Automates browsers" as the leading cause for choosing Selenium.

QUnit and Selenium are both open source tools. Selenium with 14.7K GitHub stars and 4.92K forks on GitHub appears to be more popular than QUnit with 3.82K GitHub stars and 762 GitHub forks.

According to the StackShare community, Selenium has a broader approval, being mentioned in 770 company stacks & 425 developers stacks; compared to QUnit, which is listed in 11 company stacks and 6 developer stacks.

Advice on QUnit and Selenium
Needs advice
on
JestJestSeleniumSelenium
and
WebdriverIOWebdriverIO
in

we are having one web application developed in Reacts.js. in the application, we have only 4 to 5 pages that we need to test. I am having experience in selenium with java. Please suggets which tool I should use. and why ............................ ............................ .............................

See more
Replies (1)
Prashanth Marappa
Senior Software Engineer at Mphasis · | 1 upvotes · 172.9K views
Recommends
SeleniumSelenium

with the help of selenium we can automate react js for functional testing

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of QUnit
Pros of Selenium
  • 6
    Simple
  • 4
    Open Source
  • 3
    Promise support
  • 3
    Easy setup
  • 1
    Excellent GUI
  • 172
    Automates browsers
  • 154
    Testing
  • 101
    Essential tool for running test automation
  • 24
    Remote Control
  • 24
    Record-Playback
  • 8
    Data crawling
  • 7
    Supports end to end testing
  • 6
    Functional testing
  • 6
    Easy set up
  • 4
    The Most flexible monitoring system
  • 3
    End to End Testing
  • 3
    Easy to integrate with build tools
  • 2
    Comparing the performance selenium is faster than jasm
  • 2
    Record and playback
  • 2
    Compatible with Python
  • 2
    Easy to scale
  • 2
    Integration Tests
  • 0
    Integrated into Selenium-Jupiter framework

Sign up to add or upvote prosMake informed product decisions

Cons of QUnit
Cons of Selenium
    Be the first to leave a con
    • 8
      Flaky tests
    • 4
      Slow as needs to make browser (even with no gui)
    • 1
      Update browser drivers

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is QUnit?

    QUnit is a powerful, easy-to-use JavaScript unit testing framework. It's used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code, including itself!

    What is 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.

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

    Jobs that mention QUnit and Selenium as a desired skillset
    CBRE
    United States of America Texas Houston
    CBRE
    United States of America Texas Richardson
    What companies use QUnit?
    What companies use Selenium?
    See which teams inside your own company are using QUnit or Selenium.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with QUnit?
    What tools integrate with Selenium?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    What are some alternatives to QUnit and Selenium?
    Mocha
    Mocha is a feature-rich JavaScript test framework running on node.js and the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.
    Jest
    Jest provides you with multiple layers on top of Jasmine.
    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.
    JUnit
    JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
    Chai
    It is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework. It has several interfaces that allow the developer to choose the most comfortable. The chain-capable BDD styles provide an expressive language & readable style, while the TDD assert style provides a more classical feel.
    See all alternatives