What are the limitations of using JUnit

0 votes
What are the limitations of using JUnit?
Jul 4, 2019 in Selenium by Sumit
4,479 views

1 answer to this question.

0 votes

Hey Sumit, JUnit is a very good unit testing framework and has very good features. But it also has some limitations like:

  • It cannot do dependency testing as opposed to TestNG framework.

  • It's not suitable for higher level testing i.e. for large test suites.

  • Group testing cannot be done in JUnit, which is available in TestNG.

  • Can't create HTML reports of test cases. You need to use ANT to create tests HTML reports.

answered Jul 4, 2019 by Abha
• 28,140 points

Related Questions In Selenium

0 votes
1 answer
0 votes
1 answer

What are the limitations of Selenium IDE?

Selenium doesn't support the following directly:- Condition statements Error ...READ MORE

answered Feb 9, 2019 in Selenium by Rajnesh
2,079 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,490 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,030 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,145 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,816 views
0 votes
1 answer

What are the benefits of using Junit testing framework?

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

answered Jun 12, 2019 in Selenium by Abha
• 28,140 points
4,541 views
0 votes
2 answers

What are the limitations of Selenium?

Hi Moray, limitations of selenium webdriver are ...READ MORE

answered Jun 10, 2019 in Selenium by Abha
• 28,140 points
8,009 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