[英]Run fitnesse test out of MSTest or NUnit or console application in Visual Studio
I debug fitnesse
test next way: 我
fitnesse
下面的方式调试fitnesse
测试:
fitnesse
webserver. fitnesse
Web服务器。 RunnerW.exe
opens. RunnerW.exe
打开。 ReAttach
to it. ReAttach
安装。 Go
. Go
。 I want to speed up this cycle. 我想加快这个周期。
Is next way possible and how? 下一条路可行吗?
Eg run MSTest
or NUnit
or Console application via F5 from Visual studio. 例如,通过Visual Studio中的F5运行
MSTest
或NUnit
或控制台应用程序。 Given I referenced fit.dll
or fitsharp.dll
or convert some jar into dll via IKVM
, configured some runners/parsers, defined paths to saved test pages and test pages names. 给定我引用了
fit.dll
或fitsharp.dll
或通过IKVM
将一些jar转换为dll,配置了一些运行器/解析器,定义了保存的测试页和测试页名称的路径。
Other alternatives to have debug mode with one button click from Visual Studio? 从Visual Studio一键单击即可具有调试模式的其他替代方案?
Dzmitry, please see here example how to start FitNesse test from Power Shell. Dzmitry,请在此处查看如何从Power Shell启动FitNesse测试的示例。
So, answer on your question: execute line: 因此,回答您的问题:执行以下行:
java -jar fitnesse-standalone.jar -c "InternalTests.NetRunnerRegression?suite&format=xml" -b $xmlFilePath
Where InternalTests.NetRunnerRegression?suite&format=xml is path to your test page, see documentation to check all options available. 如果InternalTests.NetRunnerRegression?suite&format = xml是测试页的路径,请参阅文档以检查所有可用选项。 By this line I started execution test for InternalTests.NetRunnerRegression as suite (eg this page and subpages), and requested result in xml (html by default).
通过这一行,我开始以套件(例如此页面和子页面)的形式对InternalTests.NetRunnerRegression执行测试,并以xml(默认为html)请求结果。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.