What is the difference between TestNG and Maven?

Asked by Last Modified  

2 Answers

Follow 2
Answer

Please enter your answer

IT Corporate Trainer with 9 years of experience in Edu tech

TestNG and Maven are two entirely different things. TestNG is a testing framework inspired from NUnit and JUnit but presenting some new functionality that makes it simply easy, effortless, and powerful to use. TestNG is also an open-source automated test framework; wherein NG of TestNG signifies Next...
read more
TestNG and Maven are two entirely different things. TestNG is a testing framework inspired from NUnit and JUnit but presenting some new functionality that makes it simply easy, effortless, and powerful to use. TestNG is also an open-source automated test framework; wherein NG of TestNG signifies Next Generation. read less
Comments

Professional Trainer

Maven is used for project management. It helps you in building your code/project effectively without much human intervention needed, once you have written your pom.xml correctly. It will download all the required artifacts, resolve the dependencies and then will compile your code and package it. TestNG...
read more
Maven is used for project management. It helps you in building your code/project effectively without much human intervention needed, once you have written your pom.xml correctly. It will download all the required artifacts, resolve the dependencies and then will compile your code and package it. TestNG is a testing framework used to create, run and generate a report of your tests. TestNG can also be invoked using Maven. To run the tests too, sometimes you may depend on the dev code or some other artifacts. In order to correctly download all the right versions, you mavenize your tests and then give a run using Maven. Maven is there to make a techie life easy. read less
Comments

Related Questions

I completed BCA in 2016. Is learning software testing good for me because as I have a gap in my career? Please suggest.
If you can do programming then, you can start your career with any programming that gives you the right package and scope is very good. But if you are feeling link, you will not be able to do programming,...
Varun
Is it necessary to know automation Testing always?
Answer of such kind of question always be diplomatic for all QA's. It's my personal opinion, automation is equally important as manual in current trends. Yes, important not necessary, now value of automation...
Test
I want to join an IT academy which can provide me 100% guaranteed job. Can you suggest some?
Hi Anuja, There is nothing or no one in the world who can guarantee you a job except your own hard work and will to succeed in life. A good tutor can guide you in the right direction and provide assistance...
Anuja

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

Ask a Question

Related Lessons

What is Software Testing?
Software Testing is an approach to test an Application with different Testing approaches. There are 3 types of Application Web Application Mobile Application Desktop Application Major of applications...

TestNG Annotations and its sequence
public class TestNGAnnotations { @BeforeMethod public void beforeM() { System.out.println("Before Method"); } @AfterMethod public void afterMethod() { System.out.println("After Method"); } @BeforeClass...
S

Sarthak C.

0 0
0

How to Shape Your Software Testing Career?
When I met with the students they ask or can say its a frequently ask question "How much Scope of Testing is?" "What the pay package I will get?" "Is career secure in Software Testing?" "I will learn...

Puzzle: There is a lotus (or any flower) in a pool which doubles its size every day, on the 20th day it would be.
Puzzle: There is a lotus (or any flower) in a pool which doubles its size every day, on the 20th day it would be enough to cover the complete pool. On which day the size of the lotus was half the size...

Example of DependsOnMethod in TestNG
public class dependsonM { @Test public void login() { System.out.println("login"); } @Test (dependsOnMethods = {"login"}) public void email() { //Intentionally I am failing this testcase Assert.assertTrue(false);...
S

Sarthak C.

0 0
0

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 >

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 >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

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