I need to prepare some data before running some test methods in my test class. But these data will be used only in 5 test methods only. The entire test class has 25 test cases.
So is there any way to trigger before Method only for specific test methods. In my case, only for above 4 test methods? Its Java, TestNg