JOURNAL ARTICLE

Specification-based Test Case Generation for C++ Engineering Software

Abstract

The evolution and re-engineering of software is strongly supported by comprehensive test suites for checking the correctness and robustness of software systems. However, this requires comprehensive test suites to be in place or developed prior to re-engineering of systems. Many techniques and strategies have been proposed to automate the creation of test suites. Specification-based testing aims to use all available behavioral specifications of software to drive black-box testing of software. In this paper, we present an approach, which applies specification-based testing to component software in the engineering domain, supporting an ongoing re-engineering process aiming to transform monolithic C++ engineering software into reusable fine-grained computational services. The developed test generator (TxTea) uses source code annotations added to component interface definitions and drives test data generation by a randomized testing approach, which integrates a satisfiability modulo theories (SMT) solver to check satisfiability and generate test data for comprehensive preconditions. As we show, TxTea can be successfully applied to a given component technology, and as we discuss in this paper, the customized specification language and generic implementation make reuse in more general use cases feasible.

Keywords:
Computer science Software engineering Correctness Software construction Programming language Satisfiability modulo theories Regression testing Software development Software

Metrics

2
Cited By
0.64
FWCI (Field Weighted Citation Impact)
28
Refs
0.72
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Testing and Debugging Techniques
Physical Sciences →  Computer Science →  Software
Software Reliability and Analysis Research
Physical Sciences →  Computer Science →  Software
Software System Performance and Reliability
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

BOOK-CHAPTER

Test Case Generation: Specification-Based

Man Fai LauYuen Tak YuPak‐Lok Poon

Encyclopedia of Software Engineering Year: 2010 Pages: 1200-1210
JOURNAL ARTICLE

Test Case Generation for Real-Time System Software Using Specification Diagram

Mani PadmanabhanM. Prasanna

Journal:   International journal of intelligent engineering and systems Year: 2016 Vol: 10 (1)Pages: 166-175
© 2026 ScienceGate Book Chapters — All rights reserved.