Composing tests from examples

9Citations
Citations of this article
14Readers
Mendeley users who have this article in their library.

Abstract

Understanding and maintaining complex software systems is a difficult task. In principle, tests can be a good source of information about how the system works. Unfortunately, tests are frequently unstructured and disconnected from each other and from their units under test. We propose a new approach to organizing unit tests in which tests produce examples of their units under tests which also can be reused for composing higher-level tests. The approach is based on the EG meta-model, which classifies tests according to their granularity and their goals. We have developed the EGBROWSER, an experimental tool for specifying tests that conform to the EG meta-model while keeping track of the connection between tests themselves and their units under test. Initial usability studies suggest that the approach is both easy to learn and more efficient than the programmatic approach to developing tests.

Cite

CITATION STYLE

APA

Gaelli, M., Wampfler, R., & Nierstrasz, O. (2007). Composing tests from examples. In Journal of Object Technology (Vol. 6, pp. 71–86). Journal of Object Technology. https://doi.org/10.5381/jot.2007.6.9.a4

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free