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

JUnit

1.6K
518
+ 1
0
Selenium

12.8K
10.2K
+ 1
521
Add tool
Advice on JUnit 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 · 149.3K 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 JUnit
Pros of Selenium
    Be the first to leave a pro
    • 171
      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
      Easy to integrate with build tools
    • 3
      End to End Testing
    • 2
      Integration Tests
    • 2
      Comparing the performance selenium is faster than jasm
    • 2
      Record and playback
    • 2
      Compatible with Python
    • 2
      Easy to scale
    • 0
      Integrated into Selenium-Jupiter framework

    Sign up to add or upvote prosMake informed product decisions

    Cons of JUnit
    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

      What is JUnit?

      JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.

      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 JUnit and Selenium as a desired skillset
      CBRE
      United States of America Texas Richardson
      CBRE
      Poland Mazowieckie Warsaw
      CBRE
      United States of America Texas Richardson
      CBRE
      United States of America Texas Houston
      CBRE
      Poland Mazowieckie Warsaw
      CBRE
      Poland Mazowieckie Warsaw
      What companies use JUnit?
      What companies use Selenium?
      See which teams inside your own company are using JUnit 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 JUnit?
      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 JUnit and Selenium?
      NUnit
      An evolving, open source framework designed for writing and running tests in Microsoft .NET programming languages.It is an aspect of test-driven development , which is part of a larger software design paradigm known as Extreme Programming
      TestNG
      It is a testing framework designed to simplify a broad range of testing needs, it covers all categories of tests: unit, functional, end-to-end, integration, etc.Run your tests in arbitrarily big thread pools with various policies available (all methods in their own thread, one thread per test class, etc.
      Mockito
      It is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. It doesn’t give you hangover because the tests are very readable and they produce clean verification errors.
      Arquillian
      It is an integration and functional testing platform that can be used for Java middleware testing. With the main goal of making integration (and functional) tests as simple to write as unit tests, it brings the tests to the runtime environment, freeing developers from managing the runtime from within the test.
      xUnit
      It is a free, open source, community-focused unit testing tool for the .NET Framework. It is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. It works with ReSharper, CodeRush, TestDriven.NET and Xamarin.
      See all alternatives