473,396 Members | 1,968 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,396 software developers and data experts.

Best Unit test products?

Hello,

I want to get information on unit test and related (e.g. mock object)
products available for managed code. What products are available and what do
you think about them? Which are the best, which do you recommend, strengths
and weaknesses, etc. For example, how does NUnit compare to Team System's
unit test?

TIA
Jun 3 '06 #1
7 1385
David Levine wrote:
I want to get information on unit test and related (e.g. mock object)
products available for managed code. What products are available and what do
you think about them? Which are the best, which do you recommend, strengths
and weaknesses, etc. For example, how does NUnit compare to Team System's
unit test?


NUnit is just fine. The GUI is sort of klunky but it's functional. It
would be nice if it were better integrated with VS - eg, click on a
failed test, and jump to the source line - but it's quite usable
without that integration.

Team System costs a fortune. It's probably fine for in-house tests,
but you sure can't rely on your customers or collaborators having it.

--

..NET 2.0 for Delphi Programmers <http://www.midnightbeach.com/.net>

Delphi skills make .NET easy to learn
Just printed, and shipping now.
Jun 4 '06 #2
NUnit is just fine. The GUI is sort of klunky but it's functional. It
would be nice if it were better integrated with VS - eg, click on a


Try http://www.testdriven.net It integrates pretty well
--
Hadi Hariri
http://www.hadihariri.com
Jun 4 '06 #3
Jon, have you seen TestDriven.net? That gives you nice IDE integration.
"Jon Shemitz" <jo*@midnightbeach.com> wrote in message
news:44***************@midnightbeach.com...
David Levine wrote:
I want to get information on unit test and related (e.g. mock object)
products available for managed code. What products are available and what
do
you think about them? Which are the best, which do you recommend,
strengths
and weaknesses, etc. For example, how does NUnit compare to Team System's
unit test?


NUnit is just fine. The GUI is sort of klunky but it's functional. It
would be nice if it were better integrated with VS - eg, click on a
failed test, and jump to the source line - but it's quite usable
without that integration.

Team System costs a fortune. It's probably fine for in-house tests,
but you sure can't rely on your customers or collaborators having it.

--

.NET 2.0 for Delphi Programmers <http://www.midnightbeach.com/.net>

Delphi skills make .NET easy to learn
Just printed, and shipping now.

Jun 4 '06 #4
In addition to NUnit you may want to look into DotNetMock for as a more
advanced Mock Object framework, if your application needs it.

Dan Manges
Jun 5 '06 #5
Thanks, I've never heard of it. How does it compare to NMock?

"Dan Manges" <da***********@gmail.com> wrote in message
news:Bh******************@tornado.ohiordc.rr.com.. .
In addition to NUnit you may want to look into DotNetMock for as a more
advanced Mock Object framework, if your application needs it.

Dan Manges

Jun 6 '06 #6
David Levine wrote:
Thanks, I've never heard of it. How does it compare to NMock?


I haven't used NMock, so I can't really compare the two, but DotNetMock
has many of the standard .NET interfaces pre-defined in ready-to-use
mock objects. It also makes it easy to set expectations for attribute
values and method calls and then verify that those expectations were met.

Sorry I can't provide more info.

Dan
Jun 6 '06 #7
Dan Manges <da***********@gmail.com> wrote:
David Levine wrote:
Thanks, I've never heard of it. How does it compare to NMock?


I haven't used NMock, so I can't really compare the two, but DotNetMock
has many of the standard .NET interfaces pre-defined in ready-to-use
mock objects. It also makes it easy to set expectations for attribute
values and method calls and then verify that those expectations were met.

Sorry I can't provide more info.


That's not the kind of mocking interface I tend to use. I use
EasyMock.NET, which allows the mocking of arbitrary interfaces. The
Java version has recently moved on to version 2 which is lovely, but
the equivalent for .NET wouldn't work, unfortunately, due to generics
differences (IIRC).

It's not terribly easy to see how to use DotNetMock (due to the lack of
docs) but I don't *think* it's doing quite the same kind of thing...

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Jun 12 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: DavidM | last post by:
Hello all -- I recently stumbled across a great company with wonderful products for easy integration within ASP pages. I've even created a community forum to support the products on my site. ...
2
by: Curtis Justus | last post by:
Hi, I've been searching for solutions to two issues that are undoubtedly common to everybody. The first is how do my team and I adequately perform unit testing. The second is how can I measure...
6
by: Droopy | last post by:
Hi, I want to add unit tests in my application using NUnit. At first, I thought to add unit tests in the class that is tested, enclosed in a conditional attribute to remove these unit tests from...
3
by: Sasha | last post by:
Hi everybody, I am starting a new ASP.NET/SQL Server project and this time I want to do it through Test-Driven Development (TDD). The problem that I ran into is this: How do you test data access...
72
by: Jacob | last post by:
I have compiled a set og unit testing recommendations based on my own experience on the concept. Feedback and suggestions for improvements are appreciated: ...
25
by: acemtp | last post by:
Hello, I would like to show you a new collaborative website for javascript programmer. It's quite hard to know if some specific code you wrote will work on all browsers, and if not, why it...
176
by: nw | last post by:
Hi, I previously asked for suggestions on teaching testing in C++. Based on some of the replies I received I decided that best way to proceed would be to teach the students how they might write...
12
by: Slaunger | last post by:
Hi, I am new here and relatively new to Python, so be gentle: Is there a recommended generic implementation of __repr__ for objects equal by value to assure that eval(repr(x)) == x independet...
10
by: Brendan Miller | last post by:
What would heavy python unit testers say is the best framework? I've seen a few mentions that maybe the built in unittest framework isn't that great. I've heard a couple of good things about...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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.