TY - GEN
T1 - A little language for testing
AU - Groce, Alex
AU - Pinto, Jervis
N1 - Publisher Copyright: © Springer International Publishing Switzerland 2015.
PY - 2015
Y1 - 2015
N2 - The difficulty of writing test harnesses is a major obstacle to the adoption of automated testing and model checking. Languages designed for harness definition are usually tied to a particular tool and unfamiliar to programmers; moreover, such languages can limit expressiveness. Writing a harness directly in the language of the software under test (SUT) makes it hard to change testing algorithms, offers no support for the common testing idioms, and tends to produce repetitive, hard to- read code. This makes harness generation a natural fit for the use of an unusual kind of domain-specific language (DSL). This paper defines a template scripting testing language, TSTL, and shows how it can be used to produce succinct, readable definitions of state spaces. The concepts underlying TSTL are demonstrated in Python but are not tied to it.
AB - The difficulty of writing test harnesses is a major obstacle to the adoption of automated testing and model checking. Languages designed for harness definition are usually tied to a particular tool and unfamiliar to programmers; moreover, such languages can limit expressiveness. Writing a harness directly in the language of the software under test (SUT) makes it hard to change testing algorithms, offers no support for the common testing idioms, and tends to produce repetitive, hard to- read code. This makes harness generation a natural fit for the use of an unusual kind of domain-specific language (DSL). This paper defines a template scripting testing language, TSTL, and shows how it can be used to produce succinct, readable definitions of state spaces. The concepts underlying TSTL are demonstrated in Python but are not tied to it.
UR - http://www.scopus.com/inward/record.url?scp=84942627107&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84942627107&partnerID=8YFLogxK
U2 - 10.1007/978-3-319-17524-9_15
DO - 10.1007/978-3-319-17524-9_15
M3 - Conference contribution
SN - 9783319175232
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 204
EP - 218
BT - NASA Formal Methods - 7th International Symposium, NFM 2015, Proceedings
A2 - Havelund, Klaus
A2 - Holzmann, Gerard
A2 - Joshi, Rajeev
PB - Springer-Verlag
T2 - 7th International Symposium on NASA Formal Methods, NFM 2015
Y2 - 27 April 2015 through 29 April 2015
ER -