简体   繁体   English

从Eclipse运行FitNesse测试

[英]Run FitNesse Tests from Eclipse

How can I run FitNesse tests from Eclipse IDE? 如何从Eclipse IDE运行FitNesse测试? I was trying to use jUnit Runner. 我正在尝试使用jUnit Runner。 I want to know the steps to implement the runner class and execute FitNesse tests. 我想知道实现跑步者类和执行FitNesse测试的步骤。

Does the unit test from the project help? 项目单元测试对您有帮助吗? The Suite annotation defines which tests to run. Suite批注定义要运行的测试。

@RunWith(FitNesseRunner.class)
@FitNesseRunner.Suite("FitNesse.SuiteAcceptanceTests.SuiteSlimTests.TestScriptTable")
@FitNesseRunner.FitnesseDir(".")
@FitNesseRunner.OutputDir("./build/fitnesse-results")
public class FitNesseRunnerTest {
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM