Training Course "Testing with JUnit and Cactus"

"Testing with JUnit and Cactus" is a 2 day course that will enable your developers to understand how JUnit and Cactus facilitate "Test Driven Development" and "Unit Testing" as part of the eXtreme Programming methodology. The course sets the theoretical background, but the emphasis is on providing the knowledge to build effective testing frameworks.

Hands-On Training

The course provides a hands-on environment, with real life examples illustrating a number of testing strategies. You will be provided with comprehensive notes and a set of references for future background reading.

Course Content

  • Testing Concepts
  • An introduction to Testing using JUnit
  • Test Driven Development
  • Unit Testing with JUnit
  • Unit Testing with Cactus
  • Associated testing technologies

Course Fees and Schedule

Courses are run on a regular basis. Select the following for our schedule and fees.

Customisation

In some cases it can be more appropriate and cost-effective to bring training directly to your company site. We can tailor the training to your company's individual needs without compromising the quality.

If you would like further information about the Struts course or you are interested in an onsite or customised course then please complete the following form, click here

Prerequisites

It is assumed that students attending this course have a solid background in Java programming and OO design. In addition, they should already have had some exposure to the use of Servlets and JSP. An understanding of testing principles is useful, but not mandatory.

Content Overview

Introduction and Overview

Testing concepts

Extreme Programming
Test Driven Development
Unit testing

An introduction to Testing using JUnit

Setup and configuration exercise
Understanding what testing means
Understanding why testing must be automated
Installing the JUnit testing framework
Using the JUnit testing framework to test classes

Test Driven Development

limitations of conventional testing
Test Driven Development details
Unit Tests for a simple Class Exercise

Unit Testing with JUnit

Set-up and Tear-down
Planning test data
The Test Suite framework
Using Initialisers
Positive Testing
Negative Testing
Limitations of JUnit

Unit Testing with Cactus

Set-up
Examples
Exercise
Complications

Associated testing technologies

StrutsUnit
HttpUnit

Course Summary

Glossary