简体   繁体   中英

FitNesse App.Config

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?

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"

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