You are here

SBIR Phase II: An Aspect-Oriented Solution for Unit Test Generation

Award Information
Agency: National Science Foundation
Branch: N/A
Contract: 0238697
Agency Tracking Number: 0238697
Amount: $0.00
Phase: Phase I
Program: SBIR
Solicitation Topic Code: N/A
Solicitation Number: N/A
Timeline
Solicitation Year: N/A
Award Year: 2003
Award Start Date (Proposal Award Date): N/A
Award End Date (Contract End Date): N/A
Small Business Information
317 North Aurora Street
Ithaca, NY 14850
United States
DUNS: N/A
HUBZone Owned: No
Woman Owned: No
Socially and Economically Disadvantaged: No
Principal Investigator
 Paul Anderson
 () -
Business Contact
Phone: () -
Research Institution
N/A
Abstract

This Small Business Innovation Research Phase II project aims to make it much easier to create unit-level regression tests for Java programs. Their benefits are clear, but existing techniques for creating them are flawed because they are difficult to apply to existing code, and tool support requires modification of the target code. The innovation is to instrument a gold-standard version of the module of interest so that when a client application executes, all events that cross the boundary to the module are intercepted and logged to a file. Later, after the unit has been modified or extended, and without any further need for the client application, the events can be reconstructed and fed to the unit. The results are checked for consistency with the log, and discrepancies flagged as faults. This makes it much easier for a user to create a test suite for a module. The approach is made feasible by using Aspect-Oriented Programming, and object mocking. The research challenges are: how to devise techniques for tolerating permitted changes in the target module, and how to reduce the chances of a single failure triggering a profusion of cascading failures. The use of advanced static analysis techniques, including dependence analysis, is the key to solving these problems.

If successful, this system will help software development organizations reduce the cost of development and maintenance of their software assets while at the same time increasing its quality. It will help increase assurance of safety-critical software, such as in medical equipment, or flight-control systems, thus reducing the risk of damage to property and loss of life.

* Information listed above is at the time of submission. *

US Flag An Official Website of the United States Government