Substra: A framework for automatic generation of integration tests

Hai Yuan, Tao Xie

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

A component-based software system consists of well-encapsulated components that interact with each other via their interfaces. Software integration tests are generated to test the interactions among different components. These tests are usually in the form of sequences of interface method calls. Although many components are equipped with documents that provide informal specifications of individual interface methods, few documents specify component interaction constraints on the usage of these interface methods, including the order in which these methods should be called and the constraints on the method arguments and returns across multiple methods. In this paper, we propose Substra, a framework for automatic generation of software integration tests based on call-sequence constraints inferred from initial-test executions or normal runs of the subsystem under test. Two types of sequencing constraints are inferred: shared subsystem states and object define-use relationships. The inferred constraints are used to guide automatic generation of integration tests. We have implemented Substra with a tool and applied the tool on an ATM example. The preliminary results show that the tool can effectively generate integration tests that exercise new program behaviors.

Original languageEnglish (US)
Title of host publicationProceedings of the 2006 International Workshop on Automation of Software Test, AST '06, Co-located with the 28th International Conference on Software Engineering, ICSE 2006
Pages64-70
Number of pages7
DOIs
StatePublished - 2006
Externally publishedYes
Event1st International Workshop on Automation of Software Test, AST'06, Co-located with the 28th International Conference on Software Engineering, ICSE 2009 - Shanghai, China
Duration: May 20 2006May 28 2006

Publication series

NameProceedings - International Conference on Software Engineering
ISSN (Print)0270-5257

Other

Other1st International Workshop on Automation of Software Test, AST'06, Co-located with the 28th International Conference on Software Engineering, ICSE 2009
Country/TerritoryChina
CityShanghai
Period5/20/065/28/06

Keywords

  • integration testing
  • software testing
  • test generation

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'Substra: A framework for automatic generation of integration tests'. Together they form a unique fingerprint.

Cite this