-
Outsourced Software Testing Services | Software Test Automation | QA Training | Quality Assurance Consulting | Our Clients | Downloads | About Us | Contact Us
#
LogiGear
search: Search
>> Home
>> QA City
>>
Latest articles
Classic articles
Articles by others
Resource directory
>> White papers
>> Newsletter
>> RSS feed
>> Books
>> Contact us

Email List Signup
 

Unit Testing Resources

Articles

A Revolution in the Making: When Developers Write their own Tests
First Paragraph: Write my own tests? You gotta be joking. I'm a developer. Developers writing their own tests? That happens in software utopia. In the real world there is never time for developers to spend a minute writing tests, that's the job of QA.
Using examples, author explains unit testing basics with JUnit to developers new to unit testing.
Charlie Sawyer
N/A
N/A
A Revolution in the Making: When Developers Write their own Tests
Test Infected: Programmers Love Writing Tests
First Paragraph: Testing is not closely integrated with development. This prevents you from measuring the progress of development- you can't tell when something starts working or when something stops working. Using JUnit you can cheaply and incrementally build a test suite that will help you measure your progress, spot unintended side effects, and focus your development efforts.
This article promotes unit testing using JUnit.  Examples of test development and execution are given.
Kent Beck & Erich Gamma
N/A
N/A
Test Infected: Programmers Love Writing Tests
Learning to Love Unit Testing
First Paragraph: Why don't more developers use unit tests? After all, unit tests help produce better-designed systems and more accurate code. The recent rise of extreme programming (XP) and the Gamma/Beck xUnit testing framework has brought unit testing into the daily conversation of many coders. But still, many (perhaps the majority of) programmers avoid writing them. This article is an attempt to change those developers' minds.
Article on Unit Testing for a developer's perspective
Dave Thomas & Andy Hunt
STQE
January 2002
Learning to Love Unit Testing
The New Methodology: Agile Development
First Paragraph: In the past few years there's been a rapidly growing interest in agile (aka "lightweight") methodologies. Alternatively characterized as an antidote to bureaucracy or a license to hack they've stirred up interest all over the software landscape. In this essay I explore the reasons for agile methods, focusing not so much on their weight but on their adaptive nature and their people-first orientation. I also give a summary and references to the processes in this school and consider the factors that should influence your choice of whether to go down this newly trodden path.
This article explores agile methodologies from its history to its application. 
Martin Fowler
www.martinfowler.com
N/A
http://www.martinfowler.com/articles/newMethodology.html
Unit testing database code
First Paragraph: The problem is this: you have a SQL database, some stored procedures, and a layer of code sitting between your application and the database. How can you put tests in place to make sure your code really is reading and writing the right data from the database?
This article introduces database unit testing basics and types of tests commonly used for databases.  The author also discusses several approaches that don't work and provides ideas for a successful approach.
Richard Dallaway
dallaway.com
Feb 8, 2002
http://www.dallaway.com/acad/dbunit.html
Extreme Testing - Why aggressive software development calls for radical testing efforts
First Paragraph: Very rapid development of high-quality applications software is quickly becoming an expected norm. How can you and your team ride that wave and deliver the goods? Extreme Programming, the rapid application development practice formulated by Kent Beck, may be the answer. This humanistic discipline combines simplicity, communication, feedback, and aggressiveness to produce high-quality software very quickly.
What does rapid application development mean for testers?  This article discusses the meaning of extreme testing in a rapid application development environment and how unit testing fits in the picture.
Ronald E. Jeffries
StickyMinds.com
Mar 1,1999
http://www.stickyminds.com/sitewide.asp?ObjectId=2748&Function=DETAILBROWSE&ObjectType=ART
Designing Unit Test Cases
First Paragraph: Producing a test specification, including the design of test cases, is the level of test design which has the highest degree of creative input.  Furthermore, unit test specifications will usually be produced by a large number of staff with a wide range of experience, not just a few experts.
Having a good unit test design is key to uncovering bugs at a stage where it is economical to correct them.  This article provides a general guideline for good unit test specifications as well as techniques for designing unit test cases.
N/A
Information Processing Ltd.
July 31, 1996
http://www.iplbath.com/pdf/p0829.pdf
Practical Unit Testing
First Paragraph: As a professional, you always want to be sure that the code you deliver does exactly what you mean it to do and has no bugs. The only way of achieving this is to check every single line of code and execute as many important scenarios as possible. This task must be automated, as everyone would agree. Writing and running tests to ensure that your code is fit and does what it is supposed to do is what unit testing is all about.
In this article, the author shares his experiences in writing unit tests.  Practical examples are used to demonstrate how to effectively test code ranging from synchronous and asynchronous operations to interactions between classes.
Roman Korchagin
MSDN Library
N/A
http://msdn.microsoft.com
Unit Testing Guidelines: Unit Test Plan and Personal Test Plan
First Paragraph: This document describes the approach to unit testing that is to be used to verify that each particular piece of code that has been written performs the function that it is designed to do.
Scott Highet discusses the basics of unit testing techniques and strategies. The articles also provides a rudimentary guideline for creating a unit test plan.
Scott Highet
Stickyminds.com
Mar 12, 2002
http://www.stickyminds.com/
LogiGear RSS channel xml feed file LogiGear's RSS feed Add to Google Reader or Homepage

Back to Top

-      
newsletter | RSS | site map |
-

1 (800) 322-0333   © 2008 LogiGear Corporation. All rights reserved.   Legal Notice.   Privacy Policy.