testing - Accessing app.settings when running NUnit -
testing - Accessing app.settings when running NUnit -
my test fails. made me sad. started debug on , found out nullreferenceexception occurs du line below.
system.configuration.configurationmanager.getsection("blopp")
it doesn't happen when run programme beingness tested (although said phone call not straight in programme in 1 of libraries).
is bad design of code or should consider different approach testing? perhaps there's way fake-in missing config line? i'm totally indecisive...
i've had problems before using nunit gui (nunit.exe) when running tests part of nunit project app.config file not read.
try opening test library straight in nunit gui clicking file > open project... , selecting test library.
testing nunit
Comments
Post a Comment