UI-driven test-first development of interactive systems

Judy Bowen and Steve Reeves

Abstract

Test-driven development (TDD) is a software development approach, which has grown out of the Extreme Programming and Agile movements, whereby tests are written prior to the implementation code which is then developed and refactored so that it passes the tests. Test-first development (TFD) takes a similar approach, but rather than relying on the testers to infer the correct tests from the requirements (often expressed via use cases) they use models of the requirements as the basis for the tests (and as such have a more formal approach). One of the problems with both TDD and TFD is that is has proven hard to adapt it for interactive systems as it is not always clear how to develop tests to also support user interfaces (UIs). In this paper we propose a method which uses both formal models of informal UI design artefacts and formal specifications to derive abstract tests which then form the basis of a test-first development process.

Venue
EICS 2011
Volume
Proceedings of the 3rd ACM SIGCHI symposium on Engineering interactive computing systems
DOI
10.1145/1996461.1996515
PDF
https://dl.acm.org/doi/pdf/10.1145/1996461.1996515
Anthology ID
2011.eics.23

Cite

@inproceedings{bowen-reeves-2011-uidriven,
    title = {{UI-driven test-first development of interactive systems}},
    author = {Judy Bowen and Steve Reeves},
    booktitle = {Proceedings of the 3rd ACM SIGCHI symposium on Engineering interactive computing systems},
    isbn = {9781450306706},
    year = {2011},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/1996461.1996515},
    url = {https://doi.org/10.1145/1996461.1996515},
    abstract = {Test-driven development (TDD) is a software development approach, which has grown out of the Extreme Programming and Agile movements, whereby tests are written prior to the implementation code which is then developed and refactored so that it passes the tests. Test-first development (TFD) takes a similar approach, but rather than relying on the testers to infer the correct tests from the requirements (often expressed via use cases) they use models of the requirements as the basis for the tests (and as such have a more formal approach). One of the problems with both TDD and TFD is that is has proven hard to adapt it for interactive systems as it is not always clear how to develop tests to also support user interfaces (UIs). In this paper we propose a method which uses both formal models of informal UI design artefacts and formal specifications to derive abstract tests which then form the basis of a test-first development process.}
}