473,396 Members | 1,963 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.

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 18931
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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...

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.