Test Selection with Moose In Industry
Autor: | Sylvain Cresson, Vincent Blondeau, Nicolas Anquetil, Pascal Croisy, Stéphane Ducasse |
---|---|
Rok vydání: | 2016 |
Předmět: |
Engineering
Source code business.industry media_common.quotation_subject Real-time computing Process (computing) 020207 software engineering 02 engineering and technology Industrial engineering General partnership 0202 electrical engineering electronic engineering information engineering Code (cryptography) 020201 artificial intelligence & image processing Quality (business) Granularity Scenario testing business media_common Dynamic testing |
Zdroj: | IWST |
DOI: | 10.1145/2991041.2991058 |
Popis: | 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 rapid feedback to developers 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. |
Databáze: | OpenAIRE |
Externí odkaz: |