What are the benefits of using Junit testing framework

0 votes
Jun 12, 2019 in Selenium by Prakhar
4,593 views

1 answer to this question.

0 votes

Hi Prakhar, some of the benefits of using JUnit testing framework are:

  • JUnit ensures that every single part or functioning in your software is tested even before module or System level testing is performed.

  • Every time you make a small or a big modification in the code (in any function), you can make sure that the function is performing well and has not broken any older functionality by executing all JUnit test cases in one go written for that function. 

  • Easily create and most importantly manage a rich unit test case suite for the entire software.

  • JUnit has become a standard for testing in Java programming language and is supported by almost all IDE’s e.g Netbeans, Eclipse etc. So, you work in any standarized IDE environment, you would find the support of JUnit in it.

  • You can also integrate Ant with JUnit to allow executing test suites (all unit test cases) as part of the build process, capturing their output, and generating rich color enhanced reports.

answered Jun 12, 2019 by Abha
• 28,140 points

Related Questions In Selenium

0 votes
1 answer

What are the benefits and drawbacks of using Test Driven Development in Automation testing?

Hi Sharon, Test Driven Development (TDD) is an iterative ...READ MORE

answered Aug 5, 2019 in Selenium by Anvi
• 14,150 points
2,449 views
0 votes
2 answers

What are the benefits of using TestNG with Selenium?

Hi Falguni, some of the benefits of ...READ MORE

answered May 31, 2019 in Selenium by Anvi
• 14,150 points
1,738 views
0 votes
1 answer
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
13,676 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,144 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,910 points
7,221 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,875 views
0 votes
1 answer

What is a Selenium framework and what are the benefits of it?

Hi Disha, Selenium framework is a code structure ...READ MORE

answered May 13, 2019 in Selenium by Abha
• 28,140 points
1,116 views
0 votes
1 answer

What are the advantages of TestNG over JUnit framework?

Hey Kimberly, TestNG has many advantages over ...READ MORE

answered Jun 12, 2019 in Selenium by Abha
• 28,140 points
7,035 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP