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.
Comments: Using examples, author explains unit testing basics with
JUnit to developers new to unit testing.
Author: Charlie Sawyer
Publisher:
N/A
Issue/Date:N/A
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.
Comments: This article promotes unit testing using JUnit.
Examples of test development and execution are given.
Author: Kent Beck & Erich Gamma
Publisher:
N/A
Issue/Date:N/A
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.
Comments: Article on Unit Testing for a developer's
perspective
Author: Dave Thomas & Andy Hunt
Publisher:
STQE
Issue/Date:January 2002
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.
Comments: This article explores agile methodologies from its
history to its application.
Author: Martin Fowler
Publisher:
www.martinfowler.com
Issue/Date:N/A
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?
Comments: 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.
Author: Richard Dallaway
Publisher:
dallaway.com
Issue/Date:Feb 8, 2002
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.
Comments: 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.
Author: Ronald E. Jeffries
Publisher:
StickyMinds.com
Issue/Date:Mar 1,1999
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.
Comments: 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.
Author: N/A
Publisher:
Information Processing Ltd.
Issue/Date:July 31, 1996
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.
Comments: 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.
Author: Roman Korchagin
Publisher:
MSDN Library
Issue/Date:N/A
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.
Comments: Scott Highet discusses the basics of unit testing
techniques and strategies. The articles also provides a rudimentary guideline
for creating a unit test plan.
Author: Scott Highet
Publisher:
Stickyminds.com
Issue/Date:Mar 12, 2002
Back to Top
|