What are the limitations of using JUnit?

0 votes
What are the limitations of using JUnit?
Jul 4 in Selenium by Sumit
51 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 by Abha
• 23,030 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 in Selenium by Rajnesh
153 views
0 votes
1 answer
0 votes
1 answer

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,090 points
589 views
0 votes
1 answer
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,130 points
898 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
575 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 11 in Selenium by Abha
• 23,030 points
58 views
0 votes
2 answers

What are the limitations of Selenium?

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

answered Jun 10 in Selenium by Abha
• 23,030 points
247 views