In this chapter we had learned about the different annotations provided by TestNG. We have covered how and in which sequence the Before and After annotation is executed. We have also learned about the Test annotation and parameterization feature in TestNG. Finally, we then covered with examples, the time test, exception test, and disabling a test features of TestNG.
In the next chapter we will talk about the grouping feature of TestNG using the test methods that can be grouped into a named group.