Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / October 2004

Tip: Looking for answers? Try searching our database.

ndoc exclude nunit stuff

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Finn J Johnsen - 01 Oct 2004 13:16 GMT
Hi

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

Thanks,
Finn Johnsen
Nick Malik - 01 Oct 2004 15:28 GMT
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

> Hi
>
[quoted text clipped - 3 lines]
> Thanks,
> Finn Johnsen
Tom Porterfield - 01 Oct 2004 15:53 GMT
> 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.
Signature

Tom Porterfield

Finn J Johnsen - 04 Oct 2004 14:31 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.