JUnit4 - First Steps

(Free Web Tutorial)

by Michael Thomas

JUnit Home Page

In this tutorial you will install JUnit, create your first Java Project using JUnit and discuss TDD.

Note: On the JUnit & TDD Home page, you can download this whole tutorial (all content, tutorials & examples) !!!

This tutorial covers:

Version: JUnit 4.9b2
Install file: <I used the one built into Eclipse> or junit4.9b2.zip, 1.6MB, January 18, 2011

Prerequisites

Objectives

Terms

FYI - Possible Errors:

JUnit Install


Create a Test Java Project & Java Class

General JUnit Test Case Info

Advanced Topics: