On Jul 29, 9:42 pm, lextm <
lextu...@gmail.com> wrote:
> Hi, I love to include NUnit test cases inside assemblies. However,
You even include them in the "release" (versus "debug") builds ?
> this leads Gendarme to generate warnings on the test cases, too. I am
> sure these warnings are real positive, but they are not necessary at
> all.
Yes it must be noisy.
> Because all those test cases have NUnit attributes, is there a way to
> tell Gendarme to ignore them? I am using the Win32 installer for
> Gendarme 0.2
Not automatically - at least not the moment... it's a feature to think
about*
However you can, right now, ignore them if you use the console runner
(also part of the win32 installer). The length of the ignore file
would depend on how the test are spread in your code.
Sebastien
* since we're looking into supporting other "ignore" mechanisms, like
the [SuppressMessage] attribute