Skip to main content


developerWorks  >  SOA and Web services | Rational | Open source  >

Get started with unit and component testing using IBM Rational tools

A comprehensive guide for unit and component testing

developerWorks

Level: Intermediate

Rosaline Makar (rosaline@eg.ibm.com), Software Engineer, IBM 

11 Oct 2007

Register now or sign in using your IBM ID and password.

Component testing is essential for the integration of code that enables crucial application functionality. This tutorial takes you step by step through unit and component testing specifically for Java™ code, Web services, servlets, Service Component Architecture (SCA), and Enterprise JavaBeans (EJB) beans using the JUnit and Jakarta Cactus testing frameworks and simple HelloWorld samples. Also, learn how to automate these tests using IBM® Rational® Software Architect, IBM Rational Application Developer, and IBM WebSphere® Integration Developer.

Objectives

Understand how to perform unit and component testing, and automate those tests with Apache Ant using IBM Rational Application Developer, IBM Rational Software Developer, or IBM WebSphere Integration Developer.

Prerequisites

To follow along with this tutorial, you should have a basic knowledge of the technology you want to test, whether it's SCA, servlets, EJB beans, Web services, or Java code. You should also have basic technical experience with the products listed in the System requirements section.


System requirements

In this tutorial, you can use any of the following tools to test Java technology, Web services, servlets, and EJB beans:

  • Rational Software Architect V6.0
  • Rational Application Developer V6.0

To perform SCA testing along with Java, Web services, servlets, and EJB testing, you need WebSphere Integration Developer V6.0.1 or 6.0.2.

Running component testing requires IBM Rational Agent Controller, which is an add-on included in the Rational Software Architect bundle.



Duration

Under 2 hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed

Discuss