Usage of Tests in an Open-Source Community: A Case Study with Pharo Developers

Benoît Verhaeghe 1 Vincent Blondeau 1, 2 Nicolas Anquetil 1 Stéphane Ducasse 1
1 RMOD - Analyses and Languages Constructs for Object-Oriented Application Evolution
Inria Lille - Nord Europe, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille (CRIStAL) - UMR 9189
Abstract : During the development, it is known that tests ensure the good behavior of applications and improve their quality. We studied developers testing behavior inside the Pharo community in the purpose to improve it. In this paper, we take inspiration from a paper of the literature to enhance our comprehension of test habits in our open source community. We report results of a field study on how often the developers use tests in their daily practice, whether they make use of tests selection and why they do. Results are strengthened by interviews with developers involved in the study. The main findings are that developers run tests every modifications of their code they did; most of the time they practice test selection (instead of launching an entire test suite); however they are not accurate in their selection; they change their selection depending on the duration of the tests and; contrary to expectation, test selection is not influenced by the size of the test suite.
Document type :
Conference papers
Complete list of metadatas

Cited literature [14 references]  Display  Hide  Download

https://hal.inria.fr/hal-01579106
Contributor : Lse Lse <>
Submitted on : Wednesday, August 30, 2017 - 2:27:33 PM
Last modification on : Friday, March 22, 2019 - 1:34:08 AM

File

main.pdf
Files produced by the author(s)

Identifiers

Citation

Benoît Verhaeghe, Vincent Blondeau, Nicolas Anquetil, Stéphane Ducasse. Usage of Tests in an Open-Source Community: A Case Study with Pharo Developers. Proceedings of the 12th Edition of the International Workshop on Smalltalk Technologies, Sep 2017, Maribor, Slovenia. pp.4:1--4:9, ⟨10.1145/3139903.3139909⟩. ⟨hal-01579106⟩

Share

Metrics

Record views

223

Files downloads

155