c# - Using app.config in MBunit test -


The way I have installed my unit test is that the user can run executable and to use Can choose a dataset. This information is stored in app.config, however when I try to use app.config it does not work while running the unit test with Gallio Icarus.

EDIT: I got an area to bind property when I properties.Settings.Default.Save (); I do not think there is anything like App.exe.config does not change and there is no change.

app config is the file that is MyProgramme.exe. Config file that reads the program at startup. It can be accessed through the object in the System.configuration namespace and assembly.

Properties.Settings.Default file corresponds to the user .config that when you type settings.Settings.Default.Save () < / Code>

your program will generate app.config in the test file properties.Settings.Default will not affect.

For more information, see


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -