FitNesse App.Config

懵懂的女人 提交于 2019-12-02 13:28:44

问题


I am having 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?


回答1:


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.




回答2:


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"



来源:https://stackoverflow.com/questions/1849172/fitnesse-app-config

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!