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
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
your program will generate app.config in the test file properties.Settings.Default will not affect.
For more information, see
Comments
Post a Comment