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.