Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 16 September 2015

Fixture Setup through Object Notation for Implicit Test Fixtures

Douglas Hiura Longo1, Beatriz Wilges1, Patrícia Vilain1 & Renato Cislaghi1

Journal of Computer Science, Volume 11, Issue 6, pp. 794–803 · doi.org/10.3844/jcssp.2015.794.803

7,110 accesses4,920 downloads2 citations (Crossref)Metrics
Cite Check for updates

Abstract

This paper presents an approach to the development of fixture setup code through an objects notation that is applied on implicit test fixtures. This approach is integrated with a management mechanism to call the fixture setup code from the JUnit test framework. The objective of this work is to enable the reuse of fixtures across multiple test classes avoiding the management and the creation of fixtures within the test itself. The evaluation of this proposal was performed during test-driven development of a Web-based system. Results present approximately 190 fixture setups with a reutilization average of about 13 times, observed in an analysis with 2200 h of development. Initial results show the growing reutilization of fixture setups during test development, with significant test code volume reduction.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 3.0 Licence (CC BY 3.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Longo, D. H., Wilges, B., Vilain, P. & Cislaghi, R. (2015). Fixture Setup through Object Notation for Implicit Test Fixtures. Journal of Computer Science, 11(6), 794–803. https://doi.org/10.3844/jcssp.2015.794.803

Licence
CC BY 3.0
Issue
Volume 11, Issue 6
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
Fixture Setup through Object Notation for Implicit Test FixturesJournal of Computer Science · Volume 11, Issue 6 · pp. 794–803 · CC BY 3.0Download