473,404 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

ndoc exclude nunit stuff

Hi

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

Thanks,
Finn Johnsen
Nov 16 '05 #1
3 1910
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: David Anderson | last post by:
I'm using NDoc to generate help files from the C# code comments. I'm aware of the ability of NDoc to filter visibility by public/private/internal. My situation is that I'm generating doc for...
7
by: Ash Moollan [InfoMaster] | last post by:
Hi there, I am using NDOC to generate docs for one C# project which I wrote. My assembly has some public classes that are not meant to be used by others and I have not documented them. I would...
2
by: Sapthar | last post by:
Hi all, My problem is as follows: I have installed the latest NDOC (1.3). I see that some of the XML comments are not getting included in the CHM file. These comments are there in the XML...
6
by: Marco Zapletal | last post by:
hi list, i have an c# project, which contains some additional classes (nunit testclasses), which are not needed in a release build? is it possible to exclude them in the release build process? ...
20
by: Parag | last post by:
Hi, I am trying to figure out best testing tool for my project. I have narrowed down my requirements to two tools NUNIT and VSTS unit. But I have used neither and I have to use only one of them....
0
by: Pakmanoncrack | last post by:
The software company I work for creates 4 chm files from c# code with ndoc and then combines them into a fifth chm file by merging through html help. This is all done through a dos build and there...
9
by: Q. John Chen | last post by:
It is great to have an automated testing during development. BUT, How can I build the production release without nunit being included? THX. John p.s. I posted this in nunit group but...
0
by: GM | last post by:
Hello, I am using NDoc version 1.3.1 (MSDN documenter) to generate class documentation for my class libraries. I am using the <exclude/tag on the classes that should not be documented. The...
8
by: Kuldeep | last post by:
Framework: Visual Studio 2005 Technology: ASP.NET 2.0 Language: C#.NET 2.0 Hi All, Could any one of you please let me know how to use NDoc in Visual Studio 2005. If there is a source where...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.