O'Reilly logo

TestNg Beginner's Guide by Varun Menon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In the current chapter we have covered different methods of running JUnit tests through TestNG. We had even learned ways to run both TestNG and JUnit tests together through TestNG XML configuration or by using build tools. TestNG supports the running of both JUnit-3 and JUnit-4 tests in it. This helps different teams who are migrating from their existing JUnit tests to TestNG without actually running both the tests separately.

In the coming chapter we will cover unit and functional testing using TestNG. Under Unit testing we will cover mocking and different mocking techniques using TestNG. Under functional testing we will cover basics of selenium and how to use selenium with TestNG.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required