开发者

FitNesse App.Config

I am having开发者_StackOverflow中文版 a hard time understanding: http://www.syterra.com/Fit/AppConfigFiles.html

If my application and fixtures are in c:\Projects\App and FitNesse is running from c:\Projects\Sandbox\FitNesse

I am assuming c:\mypath\myapp.exe.config would be c:\Projects\App[MyFixtureAssmbly].config, but I am unsure of what c:\myfolder\mysuite.config.xml is?

I have tried putting it in the fitSharp folder with Runner.exe.config, fit.dll.config, with .xml after those names, in the FitNesse root folder, in the App directory.. I just can't figure out where to put it so it will load my app.config?


In the example c:\myfolder\mysuite.config.xml is a suite configuration file ( see http://fitsharp.github.com/FitSharp/SuiteConfigurationFile.html ). This is optional and provides a way to externalize 'techno' configuration information from the test pages.

If you are not using one, you can still use the -a switch.


NetRunner uses configuration file for the first dll from the list.

For exampple, for the line:

!path C:\Probjects\HelloWorld\bin\Debug\FitNesseHelloWorld1.dll, C:\Probjects\HelloWorld\bin\Debug\FitNesseHelloWorld2.dll

NetRunner will use configuration file "C:\Probjects\HelloWorld\bin\Debug\FitNesseHelloWorld1.dll.config"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜