Computer Science Department, Bucknell University

CSCI 479 JUnit - Unit Testing in Java
Fall 2008
Professor Dan Hyde


  1. To get started in JUnit, read the classic web page by Kent Beck and Erich Gamma Test Infected: Programmers Love Writing Tests. The examples use an old version of JUnit so don't study the examples. Read the web page for their ideas on testing and approach to testing.

  2. Read carefully JUnit Cookbook that is based on latest version of JUnit called JUnit 4

  3. Read and study carefully the JUnit 4 examples in JUnit 4 in 60 seconds.

  4. Study carefully the Sample program to demo JUnit 4 Done by Prof. Meng for CSCI 475.

  5. Study carefully and do Exercise on using JUnit 4 in Eclipse.

Resources:


Page maintained by Dan Hyde, hyde at bucknell.edu Last update October 22, 2008
Back to CSCI 479's home page.