I am creating a test automation framework using selenium & TestNG. This Framework will be use by all of the other team member. Want to specify a class template for all the team member so that basic structure of the test class will same for all and reduce the effort for writing the same structure for all test.
Whenever any member create any class in a particular package the class will be created with some predefined code like below
package com.xxx.yyy.testmodule.dummytest;
import org.testng.annotations.Test;
import com.xxx.yyy.lib.zzz.CommonLib;
public class Test3 extends CommonUtilCommonLibities{
@Test(description="", groups= {""})
public void testTest3() {
//Read Test Data Here
//Test Logic
//Test Verification
}
}