.wt.sit-wt.2.2.source-code.testclass-template.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sit-wt Show documentation
Show all versions of sit-wt Show documentation
SIToolkit for Web Testing
The newest version!
#if ($test.pkg)
package ${test.pkg};
#end
import org.junit.Test;
import static org.junit.Assert.*;
import org.sitoolkit.tester.domain.test.SitTesterTestBase;
import org.springframework.test.context.TestExecutionListeners;
import org.springframework.test.context.support.DependencyInjectionTestExecutionListener;
/**
*
*/
@TestExecutionListeners(listeners = {
DependencyInjectionTestExecutionListener.class,
${test.pname}.class })
public class ${test.pname} extends SitTesterTestBase {
#foreach ($caseNo in $test.caseNos)
@Test
public void test$caseNo() {
test();
}
#end
@Override
protected String getTestScriptPath() {
return "$test.scriptPath";
}
@Override
protected String getSheetName() {
return "$test.sheetName";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy