Fault Coverage-Driven Incremental Test Generation


Autoria(s): SIMAO, Adenilso; PETRENKO, Alexandre
Contribuinte(s)

UNIVERSIDADE DE SÃO PAULO

Data(s)

20/10/2012

20/10/2012

2010

Resumo

In this paper, we consider a classical problem of complete test generation for deterministic finite-state machines (FSMs) in a more general setting. The first generalization is that the number of states in implementation FSMs can even be smaller than that of the specification FSM. Previous work deals only with the case when the implementation FSMs are allowed to have the same number of states as the specification FSM. This generalization provides more options to the test designer: when traditional methods trigger a test explosion for large specification machines, tests with a lower, but yet guaranteed, fault coverage can still be generated. The second generalization is that tests can be generated starting with a user-defined test suite, by incrementally extending it until the desired fault coverage is achieved. Solving the generalized test derivation problem, we formulate sufficient conditions for test suite completeness weaker than the existing ones and use them to elaborate an algorithm that can be used both for extending user-defined test suites to achieve the desired fault coverage and for test generation. We present the experimental results that indicate that the proposed algorithm allows obtaining a trade-off between the length and fault coverage of test suites.

Natural Sciences and Engineering Research Council of Canada

Natural Sciences and Engineering Research Council of Canada[OGP0194381]

Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq)

CNPq Brazilian Funding Agency Conselho Nacional de Desenvolvimento Cientifico e Tecnologico[200032/2008-9]

Identificador

COMPUTER JOURNAL, v.53, n.9, p.1508-1522, 2010

0010-4620

http://producao.usp.br/handle/BDPI/28991

10.1093/comjnl/bxp073

http://dx.doi.org/10.1093/comjnl/bxp073

Idioma(s)

eng

Publicador

OXFORD UNIV PRESS

Relação

Computer Journal

Direitos

restrictedAccess

Copyright OXFORD UNIV PRESS

Palavras-Chave #software testing #finite-state machines #test generation #FINITE-STATE MACHINES #SPECIFICATIONS #SELECTION #Computer Science, Hardware & Architecture #Computer Science, Information Systems #Computer Science, Software Engineering
Tipo

article

original article

publishedVersion