473,472 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Unit Testing Tutorial?

Hi,

I am new to Unit testing, could you tell me where I could find information
(hopefully step by step) and what is the benefit of unit testing.

I am a sole developer in a company, therefore I don't get expose to much
of this technology.

Thanks in advance.
Regards Dat.
Jun 16 '06 #1
4 18936
Hi Dat,
I would definitely recommend reading "Test Driven Development in .Net"
that is a great introduction to unit testing and the benefits associated
with it:

http://www.amazon.com/gp/product/073...Fencoding=UTF8

Also I wrote an article on the topic that you may find useful for starters:
http://www.markdawson.org/software/u...ing_intro.aspx

Hope that helps
Mark
http://www.markdawson.org
"Dat AU DUONG" wrote:
Hi,

I am new to Unit testing, could you tell me where I could find information
(hopefully step by step) and what is the benefit of unit testing.

I am a sole developer in a company, therefore I don't get expose to much
of this technology.

Thanks in advance.
Regards Dat.

Jun 16 '06 #2
Dat AU DUONG wrote:
Hi,

I am new to Unit testing, could you tell me where I could find
information (hopefully step by step) and what is the benefit of unit
testing.

I am a sole developer in a company, therefore I don't get expose to much
of this technology.

Thanks in advance.
Regards Dat.

Dat,

I'm sure if you use Google you'll find many examples. I think the most
commonly used testing framework is NUnit.

Here's a book I like on unit testing with C# and NUnit:
http://www.pragmaticprogrammer.com/s...utc/index.html

Good luck.

Dan Manges
Jun 16 '06 #3
See there:
1) http://www.codeproject.com/csharp/autp1.asp (4 parts)
2) http://www.codeproject.com/dotnet/tdd_in_dotnet.asp
3) http://www.codeproject.com/csharp/unittestmanual.asp

"Dan Manges" wrote:
Dat AU DUONG wrote:
Hi,

I am new to Unit testing, could you tell me where I could find
information (hopefully step by step) and what is the benefit of unit
testing.

I am a sole developer in a company, therefore I don't get expose to much
of this technology.

Thanks in advance.
Regards Dat.

Dat,

I'm sure if you use Google you'll find many examples. I think the most
commonly used testing framework is NUnit.

Here's a book I like on unit testing with C# and NUnit:
http://www.pragmaticprogrammer.com/s...utc/index.html

Good luck.


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Jun 16 '06 #4
Hello All,

Thank your for the references/advise!

I am head to unit testing material now!

Regards Dat.
See there:
1) http://www.codeproject.com/csharp/autp1.asp (4 parts)
2) http://www.codeproject.com/dotnet/tdd_in_dotnet.asp
3) http://www.codeproject.com/csharp/unittestmanual.asp
"Dan Manges" wrote:
Dat AU DUONG wrote:
Hi,

I am new to Unit testing, could you tell me where I could find
information (hopefully step by step) and what is the benefit of unit
testing.

I am a sole developer in a company, therefore I don't get expose to
much of this technology.

Thanks in advance.
Regards Dat. Dat,

I'm sure if you use Google you'll find many examples. I think the
most commonly used testing framework is NUnit.

Here's a book I like on unit testing with C# and NUnit:
http://www.pragmaticprogrammer.com/s...utc/index.html

Good luck.

"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche

Hi Dat,
I would definitely recommend reading "Test Driven Development in
.Net"
that is a great introduction to unit testing and the benefits
associated
with it:

http://www.amazon.com/gp/product/073...150429929/ref=
sr_1_2/002-3582326-3220048?%5Fencoding=UTF8

Also I wrote an article on the topic that you may find useful for
starters:
http://www.markdawson.org/software/u...ing_intro.aspx

Hope that helps
Mark
http://www.markdawson.org
"Dat AU DUONG" wrote:
Hi,

I am new to Unit testing, could you tell me where I could find
information (hopefully step by step) and what is the benefit of unit
testing.

I am a sole developer in a company, therefore I don't get expose to
much of this technology.

Thanks in advance.
Regards Dat.

Jun 21 '06 #5

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

Similar topics

4
by: Hugh Cowan | last post by:
Hello, I don't program full-time (anymore), but I do try and stay on-top of the latest technologies and like most are always trying to upgrade my skills and remain current (as much as is...
11
by: rhat | last post by:
Hi Everyone, I've recently been reading some articles about unit-testing in Python , but I am a bit confused: where do I go to get started with this? I tried googling for "unittest" but all I've...
3
by: steven | last post by:
Hi, Anyone was using pmock for unit testing with python? I met a problem and hope someone to help me. For short, the pmock seems can not mock a iterator object. For example, the tested...
14
by: | last post by:
Hi! I'm looking for unit-testing tools for .NET. Somthing like Java has --> http://www.junit.org regards, gicio
4
by: Peter Rilling | last post by:
Does VS.NET 2005 Professional support integrated unit testing, or is that only with the team system?
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: ...
6
by: ni_no_spam | last post by:
Hi, In my recent ASP.NET project I have made the use of NUNIT to test out the libraries. However I would be interested in unit testing the front end (i.e. simulating a user browsing the web...
10
by: Sean Chambers | last post by:
Hello, I am attempting to utilize the MVP pattern in a new app I am building. I am using TDD, along with mock views attached to the View interface to attempt to unit test the UI. The problem I...
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...
1
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,...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.