简体   繁体   中英

Run fitnesse test out of MSTest or NUnit or console application in Visual Studio

I debug fitnesse test next way:

  1. I run fitnesse webserver.
  2. Go to test page in browser
  3. Run test.
  4. RunnerW.exe opens.
  5. I ReAttach to it.
  6. I press 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. 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.

Other alternatives to have debug mode with one button click from Visual Studio?

Dzmitry, please see here example how to start FitNesse test from Power Shell.

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. 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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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