Closing the Gap between Unit Test Code and Documentation

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

    2 Citations (Scopus)

    Abstract

    Test Driven Development as well as the documentation of tests and their architecture are today an important pillar of software quality assurance. The change of requirements during the implementation phase entails a need to change tests as well as the test documentation of the software. Since unit tests are specified in the implementation language, an interdisciplinary readable documentation must be maintained, which is structurally easier to comprehend and also make the test transparent for persons who are not involved into code writing. This leads to additional effort, costs and possibly inconsistencies between the test and its documentation. This gap in the workflow could be closed by Tanni - a domain specific language, which allows the specification of test cases in the form of interdisciplinary readable tables without requiring programming skills. Based on them executable test code for the respective unit test framework is generated. This merges specification and documentation of unit test cases to one step of work. By this the mentioned additional effort, costs and imminent inconsistencies can be reduced. The Language Workbench Meta Programming System from JetBrains serves as a technological base and is enabler for further positive effects which possibly could be gained by using the described language.

    Original languageEnglish
    Title of host publicationProceedings - 10th IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2017
    PublisherInstitute of Electrical and Electronics Engineers Inc.
    Pages304-308
    Number of pages5
    ISBN (Electronic)9781509066766
    DOIs
    Publication statusPublished - 2017 Apr 13
    Event10th IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2017 - Tokyo, Japan
    Duration: 2017 Mar 132017 Mar 17

    Other

    Other10th IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2017
    CountryJapan
    CityTokyo
    Period17/3/1317/3/17

    Keywords

    • Documentation
    • Domain-specific Language
    • Java
    • Meta Programming System
    • Test Case Specification
    • Test Code Generation
    • Unit Test

    ASJC Scopus subject areas

    • Software
    • Safety, Risk, Reliability and Quality

    Fingerprint Dive into the research topics of 'Closing the Gap between Unit Test Code and Documentation'. Together they form a unique fingerprint.

    Cite this