All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.wt.sit-wt.2.2.source-code.testclass-template.vm Maven / Gradle / Ivy

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