Writing Custom Annotations
In this topic, we will see how to create a custom annotation and hookup with TestNG configuration methods.
Need for creating custom annotations #
We can create custom annotations and use them using TestNG configurations methods to make annotations more customizable per your needs.
Example of custom annotation #
As a demonstration, we will create a single @DataProvider
method that reads from different files with a file ...