Test Selection with Moose In Industry

Vincent Blondeau 1, 2 Nicolas Anquetil 1 Stéphane Ducasse 1 Sylvain Cresson 2 Pascal Croisy 2
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 : Automatic testing constitutes an important part of everyday development practice. Worldline, a major IT company, is creating more and more tests to ensure the good behaviour of its applications and gain in efficiency and quality. But running all these tests may take hours. For this reason tests are not launched as often as they should and are mostly run at night. The company wishes to improve its development and testing process by giving to developers rapid feedback after a change. An interesting solution is to reduce the number of tests to run by identifying only those exercising the piece of code changed. Two main approaches are proposed in the literature: static and dynamic. The static approach creates a model of the source code and explores it to find links between changed methods and tests. The dynamic approach records invocations of methods during the execution of test scenarios. Moose, a tool allowing to create static models of source code is a good candidate to carry this approach. Thanks to the partnership created with Worldline, we investigate on three industrial, closed source, cases to compare static and dynamic approaches. We evaluate the impact on the results of the frequency of modification of methods or considering groups of methods instead of single ones. We found that considering commits instead of individual methods tends to worsen the results, perhaps due to their large size.
Type de document :
Communication dans un congrès
IWST'16, Aug 2016, Prague, Czech Republic. Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies, 〈10.1145/2991041.2991058〉
Liste complète des métadonnées

Littérature citée [19 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01352468
Contributeur : Lse Lse <>
Soumis le : lundi 8 août 2016 - 10:39:43
Dernière modification le : mardi 3 juillet 2018 - 11:26:57
Document(s) archivé(s) le : mercredi 9 novembre 2016 - 12:14:44

Fichier

Test_Selection_with_Moose_In_I...
Fichiers produits par l'(les) auteur(s)

Identifiants

Collections

Citation

Vincent Blondeau, Nicolas Anquetil, Stéphane Ducasse, Sylvain Cresson, Pascal Croisy. Test Selection with Moose In Industry. IWST'16, Aug 2016, Prague, Czech Republic. Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies, 〈10.1145/2991041.2991058〉. 〈hal-01352468〉

Partager

Métriques

Consultations de la notice

320

Téléchargements de fichiers

84