Class library .config files causes tests not to run
Status: Beta
Brought to you by:
jcansdale
When I run the normal nunit-console.exe, .config files
for classlibraries are nicely picked up by my unit tests.
However when I try to run the nUnit addin on the same
dll and the somedll.dll.config is present in the same
directory, the addin simply reports '---Done---' without
doing anything.
When the .config file is removed, the test is executed
however it obviously cannot find the config settings and
therefore fails, but with proper failed messages.
This pretty much makes this otherwise nice application
useless for my particular tests.
Logged In: YES
user_id=993423
This is a consequence of a deeper problem: add-in error
messages have no output stream. What's happening in this
case is that something is happening in the init of the add-in
with the config file (it's almost certainly a parsing error) and
the add-in cannot continue to function.
If you can track down the problem with the config file, it
should work fine.
Logged In: YES
user_id=619229
I'll look into it, thanks! There's a new version out
(NUnitAddin-0.6.207.msi). This issue might be fixed.
Logged In: YES
user_id=117050
In the NUnit GUI, go into Project | Edit and change the
Configuration File Name to 'app.config'. It will then recognize
the file and make the settings available.