-1
以下のMavenプラグイン用。私は を実行しようwehn MVN -DskipTestsを確認-Pウィキフィットネスサーバーがsrc/test/fitnesseからテストスイートを開けません
ますFitnesse Serverは、MyTestにして、デフォルトのFrontPageスイートではないと起動します。 私はそれが直接のsrc /テスト/ますFitnesseフォルダ内の変化を直接
<profile>
<id>wiki</id>
<build>
<plugins>
<plugin>
<groupId>uk.co.javahelp.fitnesse</groupId>
<artifactId>fitnesse-launcher-maven-plugin</artifactId>
<configuration>
<port>9122</port>
<workingDir>${project.build.directory}/fitnesse</workingDir>
<root>FitNesseRoot</root>
<testResourceDirectory>src/test/fitnesse</testResourceDirectory>
<reportsDir>${project.build.directory}/fitnesse/reports</reportsDir>
<resultsDir>${project.build.directory}/fitnesse/results</resultsDir>
<summaryFile>${project.build.directory}/fitnesse/results/failsafe-summary.xml</summaryFile>
<createSymLink>true</createSymLink>
<excludeOptionalDependencies>true</excludeOptionalDependencies> <!-- Deprecated -->
<deletePluginsProperties>false</deletePluginsProperties> <!-- Note the 's' in "plugins" -->
<alwaysUnpackFitnesse>false</alwaysUnpackFitnesse>
<failIfNoTests>false</failIfNoTests>
<useProjectDependencies>
<!-- Any combination of scopes -->
<scope>system</scope>
<scope>compile</scope>
<scope>provided</scope>
<scope>runtime</scope>
<scope>test</scope>
</useProjectDependencies>
<launches>
<launch>
<suite>MyTest</suite>
</launch>
</launches>
</configuration>
<executions>
<execution>
<goals>
<goal>set-up</goal>
<goal>wiki</goal>
<goal>tear-down</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>