org.linuxstuff.maven.TrinidadMojoTest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trinidad-maven-plugin Show documentation
Show all versions of trinidad-maven-plugin Show documentation
Trinidad is a set of extensions and additional runners for the FitNesse acceptance test management tool.
package org.linuxstuff.maven;
import java.io.File;
import org.apache.maven.plugin.MojoExecutionException;
import org.junit.Test;
public class TrinidadMojoTest {
@Test
public void runTest() throws MojoExecutionException {
TrinidadMojo tm = new TrinidadMojo();
tm.setResultRepositoryUri(new File(System.getProperty("java.io.tmpdir"), "fitnesse").getAbsolutePath());
tm.setTestRepositoryUri("/home/goyqo/work/fitnesse");
tm.setSingleSuite("FitNesse.SuiteAcceptanceTests.SuiteSlimTests");
tm.execute();
}
}