Nunit是一个工具,教程看这个地方:http://www.microsoft.com/China/Community/TechZone/TechArticle/TechDoc/nunit.asp
www.nunit.com可下载另一个:http://beta.compuware.com/enroll_cpwr_dps71b1s4s.htmUser name: betaweb  
Password: 2manYbugs 进去之后填一个调查表就可以下载。----------------------------------------------------------------------
What's New in DevPartner Studio 7.1 Professional Edition
----------------------------------------------------------------------
DevPartner Studio 7.1 Professional Edition incorporates support for Visual
Studio .NET 2003 and Visual Studio .NET 2002,including support for
side-by-side operation of the both development environments, (if you have
both Visual Studio .NET versions installed on your computer, DevPartner
Studio will integrate with both).  DevPartner Studio 7.1 Professional
Edition continues to support Visual Studio 6, service pack 5.Memory Analysis (New Feature)
DevPartner Studio 7.1 Professional Edition performs memory analysis on NET
applications.  
- Memory analysis incorporates intuitive graphs and data tables that show
objects that are in memory, how much memory objects consume, references that
keep objects in memory, and methods that allocated objects.  These views,
along with accompanying detailed data, will enable developers to uncover
object leaks and other memory errors and inefficiencies in .NET
applications.  Memory Analysis has the ability to correlate remotely
collected data into a single session file.Error Detection
- A new deadlock analysis feature detects actual and potential deadlocks
between threads and synchronization objects in native code.  Deadlock
detection is increasingly important in multithreaded applications, where
threads may block one another from accessing the resources needed to
complete processing.
- A new memory and resource viewer enables the user to inspect all current
memory and resource allocations in their applications at a user-specified
moment in time or during a user-specified interval of time.
- COM Call Logging lets the user log COM objects in specific user-selected
module(s) instead of logging all COM objects that implement a given
interface.  COM call logging allows the customer to monitor method calls
from user-selected interfaces.
- .NET Call Reporting lets the user log .NET method calls.  This provides
the customer with a great deal of flexibility to selectively include various
user and/or system assemblies.
- New Common Language Runtime Garbage Collection Notification is provided in
the error detection transcript pane. This information provides the user with
notification that a Garbage Collection event has occurred in the .NET Common
Language Runtime along with appropriate statistics.  Too many time-consuming
Garbage Collection events signify that memory utilization and/or
organization may need to be adjusted by the user.Static Code Analysis
- Code reviewing options and functionality are seamlessly integrated on the
Visual Studio .NET IDE Tools menu.
- Code review includes the ability to generate batch files in parallel with
next interactive review for use with future batch processing.
- Code review incorporates the ability to bypass compile and build errors
that might halt next code review from proceeding.
- Code review has added more rules to the rules database, many dedicated to
object cleanup, unmanaged resources, and application security.Performance Analysis
- New call graphs integrated with performance analysis present an intuitive
display of call relationships between parent and child methods, and
highlights sequences of method calls that most impact performance.  This
replaces the old "pie charts."
- The performance analysis feature incorporates interactive comparisons of
performance analysis session files, which aids in the understanding of
performance impact of code changes.
- New ability to correlate remotely collected data into a single session
file.Coverage Analysis
- Coverage analysis now has the ability to exclude specific application
components to better focus data collection.
- Coverage analysis will also detect unused, but referenced, assemblies,
providing an indication of potentially dead code.
- New ability to correlate remotely collected data into a single session
file.Distributed Application Analysis
- Distributed analysis now offers support for the following Data Access
Providers included in. NET Framework Version 1.1 -- SQL Server, ODBC, and
OLEDB.
- Distributed analysis offers two new Transition Graphs -- Events by NET
Class shows transition of events as they occur by .NET Class; and Events by
Code Type shows transitions between managed and unmanaged code.
- Distributed analysis incorporates filtering metric data.  When the Alert
Trigger is enabled, disabled, or modified during session, session data is
now re-evaluated, and alerts are generated when new criteria are met.Note: For the 7.1 release, the ability to collect, correlate and view
performance, coverage and memory analysis data from remote machines has
become a feature of DevPartner Studio Professional Edition, working in
conjunction with a new Server component, which will be available in the RTM
software. (The current DevPartner Performance and Coverage Remote Agent
license will be discontinued.) Memory Analysis----内存分析,每行源代码或每一个方法调用在程序执行时所消耗的内存Error Detection---就是BoundsChecker的升级版Static Code Analysis---静态代码分析,好东西啊!!!!代码规则检查(规则可以订制)
   约束团队代码开发规范的工具。里面有大量让各位惊喜的东西。Performance Analysis--性能分析,每行源代码或每一个方法调用执行所花时间,价值不用  说 了吧。
 
Coverage Analysis--代码覆盖率分析,单元测试的重点项目啊,执行过的和没有执行过的代码一目了然,在项目源代码上万行的时候,你就知道他的重要性了。Distributed Application Analysis---分布式应用分析,针对COM+。。