JUnit 3.x Howto

$Revision: 2422 $

This document may be freely served, duplicated, or distributed, as long as the contents are not modified. Usage of described software is covered by the licenses of the individual products.

Sponsored by

Table of Contents

Preface
Available formats for this document
License
Purpose
Coverage
Support
1. Introduction
What is JUnit
Obtaining and Installing JUnit
Test Coverage -- quantity of test cases
2. Test Expressions
3. Class junit.framework.Assert
4. Grouping test expressions into test methods
Handling Throwables in your Test Methods
JUnit Failures vs. Errors
5. Interface junit.framework.Test
6. Abstract class junit.framework.TestCase
7. Class junit.framework.TestSuite
8. Making your TestCases Test-Runner-Friendly
9. Using Test Runners
10. Using JUnit with Ant

List of Tables

1. Available formats of this document

List of Examples

4.1. Generically treating generated Exceptions as test Failures

$Revision: 2422 $