Course Content
Introduction to TestNg
- What is TestNg?
- Installation and configuration
TestNgAnnotations
- What are annotations?
- Different types of annotations and description
- Examples :-
- @Test
- @BeforeMethod
- @AfterMethod
Assert Statements
- Overview on assert statements
- Different types of assert statements and description
- Examples :-
- assertTrue
- assertEquals
- assertNull
Grouping functionality
- Group anddependsOnGroup features
- Dependability in test cases
Logging and build creation in TestNg
- Log4j with TestNg
- Overview of Apache Ant
- Build creation using Apache Ant
Comparision between JUnit and TestNg
- Grouping mechanism
- Dependency testing
- Parameterized testing
Hands-on with TestNg