In the new build I'm able to run NUnit tests on the server using the
sln2005 runner, but the way to specify the assemblies to be tested is
As I don't want to have to change the configuration of the build each time
I change the layout of my project, I specified the pattern '*\Tests.dll'
into the 'Run NUnit tests for' field of the project configuration.
That almost worked, but the tests were run twice, and some of them failed
(those that required .config access).
After filing the bug http://www.jetbrains.net/jira/browse/TW-837, I was
smart enough to see the build log, and figure that what was happening was
that the assemblies tested were that on the obj folders too (shame on me
for not seeing the log before posting the bug).
Now, I've tried various pattern combinations to exclude that files using
the 'Do not run NUnit tests on' field, but without any luck.
Any ideas as to how I can make this work? I don't want to specify the
folders manually as I want to be able to change the structure of the
solution. What would be best, is to have a way to specify that all the
output assemblies are to be run, ala 'Run Unit tests...' R# menu item
executed on the solution.
Did I make sense?
As it is in the proverb, played Cretan against Cretan.
-- Plutarch (46-120 AD)
-- Life of Lysander