By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,635 Members | 2,174 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,635 IT Pros & Developers. It's quick & easy.

ndoc exclude nunit stuff

P: n/a
Hi

Dow do I get ndoc to ignore classes flagged with the [TextFixture]
attribute?

Thanks,
Finn Johnsen
Nov 16 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
One of my favorite reasons for leaving NUnit code in a different assembly
than the code to be tested... If you had, you could simply exclude the
assembly from ndoc's consideration.

--- Nick

"Finn J Johnsen" <fi**@OSLO.no> wrote in message
news:41********@news.broadpark.no...
Hi

Dow do I get ndoc to ignore classes flagged with the [TextFixture]
attribute?

Thanks,
Finn Johnsen

Nov 16 '05 #2

P: n/a
Nick Malik wrote:
One of my favorite reasons for leaving NUnit code in a different assembly
than the code to be tested... If you had, you could simply exclude the
assembly from ndoc's consideration.


Another option, if you do as I and put your NUnit tests in the same
assembly. I don't want my NUnit tests in my release code, so my NUnit
classes are wrapped inside #if DEBUG/#endif directives. I run NDoc
against my release build.
--
Tom Porterfield
Nov 16 '05 #3

P: n/a
Thanks for good suggestions. However I found a way that will work for
now : SkipNamespacesWithoutSummaries in the ndoc setting. This forces me
to write summary for every namespace I want included in my doc's. And to
seperate testclasses in dedicated test - namespaces. I do this simply by
adding .Test to my testclasses namespace.

However I might go for the #if DEBUG/#endif in the future, so I don't
have to deploy with the nunit assemblies.

Thanks,
Finn Johnsen
Nov 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.