TSTL: A language and tool for testing (demo)

Alex Groce, Jervis Pinto, Pooria Azimi, Pranjal Mittal

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

12 Scopus citations

Abstract

Writing a test harness is a difficult and repetitive programming task, and the lack of tool support for customized automated testing is an obstacle to the adoption of more sophisticated testing in industry. This paper presents TSTL, the Template Scripting Testing Language, which allows users to specify the general form of valid tests for a system in a simple but expressive language, and tools to support testing based on a TSTL definition. TSTL is a minimalist template- based domain-specific language, using the source language of the Software Under Test (SUT) to support most operations, but adding declarative idioms for testing. TSTL compiles to a common testing interface that hides the details of the SUT and provides support for logging, code coverage, delta debugging, and other core testing functionality, making it easy to write universal testing tools such as random testers or model checkers that apply to all TSTL-defined harnesses. TSTL is currently available for Python, but easily adapted to other languages as well.

Original languageEnglish (US)
Title of host publication2015 International Symposium on Software Testing and Analysis, ISSTA 2015 - Proceedings
PublisherAssociation for Computing Machinery, Inc
Pages414-417
Number of pages4
ISBN (Electronic)9781450336208
DOIs
StatePublished - Jul 13 2015
Externally publishedYes
Event24th International Symposium on Software Testing and Analysis, ISSTA 2015 - Baltimore, United States
Duration: Jul 13 2015Jul 17 2015

Publication series

Name2015 International Symposium on Software Testing and Analysis, ISSTA 2015 - Proceedings

Conference

Conference24th International Symposium on Software Testing and Analysis, ISSTA 2015
Country/TerritoryUnited States
CityBaltimore
Period7/13/157/17/15

Keywords

  • Domain-specific languages
  • Python
  • Testing tools

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'TSTL: A language and tool for testing (demo)'. Together they form a unique fingerprint.

Cite this