473,773 Members | 2,269 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1936
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 : SkipNamespacesW ithoutSummaries 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
1619
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 public members. However, I want to also exclude certain public classes and class members from the documentation file. Thanks in advance ...
7
2602
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 like NDOC not to generate documentation for those public classes that do not have an XML documentation. Can anyone suggest how I do that? All help much appreciated
2
1196
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 files, but not in the final output. What could be going wrong? Thanks, Ssapthar
6
3488
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? i dont want to put the nunit tests in another project, because then i have to switch the access modifiers from internal to public for the classes i want to test.
20
2026
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. Hence can someone who has used them before share his/her experience on them so that I can get a better idea and make a proper choice ? Any link or suggestions are also welcome. Thanks and Regards, Parag
0
1573
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 are no manual steps between each process. We need it to stay that way. Here is the problem: a few classes found in one of the chm files (we will call it a.chm) use an object that is found in another chm file(b.chm). Since ndoc created the chm...
9
2358
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 seems there are not much activity
0
1309
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 classes are being excluded from the chm but this is resulting in broken links in declarations of other classes that inherit from or use this class. Is there any way to resolve this problem? I would like to retain the exclude tag on the classes.
8
1859
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 I can find step by step information, I would be greatly obliged.
0
10106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10039
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9914
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8937
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7463
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6717
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2852
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.