Why do we use TestNG rather than JUnit and NUnit?

Asked by Last Modified  

1 Answer

Follow 1
Answer

Please enter your answer

Professional Trainer

TestNG is a Java-based framework, while JUnit is an open-source Unit Testing Framework for JAVA. Comparing TestNG Vs JUnit, TestNG annotations are easier to use and understand than JUnit. TestNG allows us to create parallel tests, whereas JUnit does not support running parallel tests. In TestNG,...
read more
TestNG is a Java-based framework, while JUnit is an open-source Unit Testing Framework for JAVA. Comparing TestNG Vs JUnit, TestNG annotations are easier to use and understand than JUnit. TestNG allows us to create parallel tests, whereas JUnit does not support running parallel tests. In TestNG, Test cases can be grouped together, while in JUnit, Grouping tests together is not possible. read less
Comments

Related Questions

I want to know mobile application testing training institutes in Bangalore.
Hi Nithwesh, Why don't you go for online training classes where you can save time and money.
Nithwesh
Who is better - Manual Tester or Automation Tester?
Its the validation and verification that matters. Either you do it manually or you do it through an automated script(automation tesing). The ability to busting the code is needed. And if you have automation...
Maneesh Jha
Is manual testing and it's processes are enough to develop better carrier in QA? Please someone guide me, what exactly necessary for making good carrier in testing?
Yes, Manual testing and related process of QA is enough to start your carrier in good way.. Once you get famillier with basic manual testing then you can move to other testing like Automation or Performance Testing.
Vidya
Need career switch from manual/QTP to a testing domain which is in demand and has less skilled resources..Please advise
You can join my training classes on Selenium using java. That helps to boost your career and salary as well..!
Bhavya

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Automation: Where To Begin & What Steps To Follow?
As of now most of the humanity have an understanding about why automation is important and now they struggle with a simple yet most important query in mind. i. Where to Begin ? And let's say you...

Code to launch Chrome browser using Appium on Andriod
DesiredCapabilities capabilities = new DesiredCapabilities();capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "Android");capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION,...

Priority in TestNG
public class Priority { @Test (priority=1)public void login() {System.out.println("login");} @Testpublic void email1() {System.out.println("email1");} @Test (priority=-2)public void email2() {System.out.println("email2");} //I...
S

Sarthak C.

0 0
0


Puzzle : You have a set of 3 light switches outside a closed door. One of them controls the light inside the room. With the door closed.....
Puzzle : You have a set of 3 light switches outside a closed door. One of them controls the light inside the room. With the door closed from outside the room, you can turn the light switches on or off...

Recommended Articles

A lot of students who look forward to build a career in IT are keen to know if Software Testing could be stepping stone for them. Software testing is processes by means quality of the software is tested and improved. It is primarily done to figure out the differences between expected output and the actual output in software...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Looking for Software Testing classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you