• Home
  • Search
  • TSTL: the template scripting testing language
  • Cite Icon29
  • https://doi.org/10.1007/s10009-016-0445-yCopy DOI Icon

TSTL: the template scripting testing language

  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

A test harness, in automated test generation, defines the set of valid tests for a system, as well as their correctness properties. The difficulty of writing test harnesses is a major obstacle to the adoption of automated test generation and model checking. Languages for writing test harnesses are usually tied to a particular tool and unfamiliar to programmers, and often limit expressiveness. Writing test harnesses directly in the language of the software under test (SUT) is a tedious, repetitive, and error-prone task, offers little or no support for test case manipulation and debugging, and produces hard-to-read, hard-to-maintain code. Using existing harness languages or writing directly in the language of the SUT also tends to limit users to one algorithm for test generation, with little ability to explore alternative methods. In this paper, we present TSTL, the template scripting testing language, a domain-specific language (DSL) for writing test harnesses. TSTL compiles harness definitions into an interface for testing, making generic test generation and manipulation tools for all SUTs possible. TSTL includes tools for generating, manipulating, and analyzing test cases, including simple model checkers. This paper motivates TSTL via a large-scale testing effort, directed by an end-user, to find faults in the most widely used geographic information systems tool. This paper emphasizes a new approach to automated testing, where, rather than focus on developing a monolithic tool to extend, the aim is to convert a test harness into a language extension. This approach makes testing not a separate activity to be performed using a tool, but as natural to users of the language of the system under test as is the use of domain-specific libraries such as ArcPy, NumPy, or QIIME, in their domains. TSTL is a language and tool infrastructure, but is also a way to bring testing activities under the control of an existing programming language in a simple, natural way.

Similar Papers
  • PDF
  • Conference Article

A Generic Knowledgebase for Test Generation

  • Jan 01, 2014
  • Proceedings of the Spring/Summer young researchers' colloquium on software engineering
  • Artem Kotsynyak +1
  • Research Article
  • Citations23

Adapting automated test generation to GUI testing of industry applications

  • Jul 06, 2017
  • Information and Software Technology
  • Rudolf Ramler +2
  • Conference Article
  • Citations13

TSTL: a language and tool for testing (demo)

  • Jul 13, 2015
  • Alex Groce +3
  • Research Article
  • Citations16

Integrating Evolutionary Testing with Reinforcement Learning for Automated Test Generation of Object‐Oriented Software

  • Jan 01, 2015
  • Chinese Journal of Electronics
  • Wei He +2
  • Book Chapter
  • Citations20

A Little Language for Testing

  • Jan 01, 2015
  • Alex Groce +1
  • Conference Article
  • Citations10

A Model-Based Test Script Generation Framework for Embedded Software

  • Apr 01, 2021
  • Muhammad Nouman Zafar +4
  • Conference Article
  • Citations8

Test generation for delay faults in non-scan and partial scan sequential circuits

  • Jan 01, 1992
  • Cheng
  • Conference Article
  • Citations16

PyModel: Model-based testing in Python

  • Jan 01, 2011
  • Proceedings of the Python in Science Conferences
  • Jonathan Jacky
  • Research Article
  • Citations103

Does Automated Unit Test Generation Really Help Software Testers? A Controlled Empirical Study

  • Sep 02, 2015
  • ACM Transactions on Software Engineering and Methodology
  • Gordon Fraser +4
  • Book Chapter

Test generation for combinational circuits

  • May 08, 2003
  • Niraj K Jha +1
  • Research Article
  • Citations5

Critical components testing using hybrid genetic algorithm

  • Aug 26, 2013
  • ACM SIGSOFT Software Engineering Notes
  • D Jeya Mala +2
  • Research Article
  • Citations37

Requirements traceability in automated test generation

  • May 15, 2005
  • ACM SIGSOFT Software Engineering Notes
  • F Bouquet +4
  • Research Article
  • Citations849

On the Acceleration of Test Generation Algorithms

  • Dec 01, 1983
  • IEEE Transactions on Computers
  • Fujiwara +1
  • PDF
  • Conference Article
  • Citations80

Does automated white-box test generation really help software testers?

  • Jul 15, 2013
  • Gordon Fraser +4
  • Conference Article
  • Citations3

CATTO: Just-in-time Test Case Selection and Execution

  • Oct 01, 2022
  • Dario Amoroso D'Aragona +6
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.