The Spring Framework is a popular open source application development framework for building lightweight enterprise applications. It makes Java development more ...
TestNG tutorial video
TestNG – testing framework designed to simplify a wide range of testing needs, from unit testing to integration testing. TestNG inspired by NUnit and JUnit. It introduces new innovative functionalities like grouping concept and dependency testing to make testing more powerful and easier to do.
6 lessons, total length 1 h 4 min
- Introduction to TestNG (00:56)
What is TestNG? Process test steps
- Annotations (02:33)
Annotations used by TestNG for example: @BeforeSuite, @AfterSuite, @BeforeTest, @AfterTest, @BeforeGroups, @AfterGroups etc.
- Description of testng.xml (04:53)
DTD for testng.xml, description of testng.xml
- Installation (24:06)
TestNG Eclipse plugin, first test, TestNG reports in HTML version, running TestNG from command line
- TestNG examples (20:24)
Basic examples of TestNG with common annototions, expectedExceptions test, ignore test, time test, suite test, parameterized test, dependency test
- TestNG vs JUnit. Comparison (11:44)
Compare TestNG vs JUnit. Functionality comparison, annotation support, exception test comparison, ignore test, time test, suite test, parametrized test, dependency test, conclusion, test NG reference