skip to main content
10.1145/3109729.3109757acmotherconferencesArticle/Chapter ViewAbstractPublication PagessplcConference Proceedingsconference-collections
short-paper

SmarTest: A Test Case Prioritization Tool for Drupal

Published: 25 September 2017 Publication History

Abstract

Test case prioritization techniques aim to identify the optimal ordering of tests to accelerate the detection of faults. The importance of these techniques has been recognized in the context of Software Product Lines (SPLs), where the potentially huge number of products makes testing extremely challenging. We found that the open source Drupal framework shares most of the principles and challenges of SPL development and it can be considered a real-world example of family of products. In a previous work, we represented the Drupal configuration space as a feature model and we collected extra functional information about its features from open repositories. Part of this data proved to be a good indicator of faults propensity in Drupal features. Thus, they become valuable assets to prioritize tests in individual Drupal products. In this paper, we present SmarTest, a test prioritization tool for accelerating the detection of faults in Drupal. SmarTest has been developed as an extension of the Drupal core testing system. SmarTest supports the prioritization of tests providing faster feedback and letting testers begin correcting critical faults earlier. Different test prioritization criteria can be selected in SmarTest, such as prioritization based on the number of commits made in the code, or based on the tests that failed in last executions. A customizable dashboard with significant system information to guide the testing is also provided by SmarTest at run-time. This work represents an interesting application of SPL-inspired testing techniques to real-world software systems, which could be applicable to other open-source SPLs.

References

[1]
M. Al-Hajjaji, T. Thum, J. Meinicke, M. Lochau, and G. Saake. 2014. Similarity-Based Prioritization in Software Product-Line Testing. In Software Product Line Conference. 197--206.
[2]
D. Buytaert. accessed in May 2017. Drupal Framework. http://www.drupal.org. (accessed in May 2017).
[3]
X. Devroey, G. Perrouin, and P. Schobbens. 2014. Abstract test case generation for behavioural testing of software product lines. In Software Product Line Conference, Vol. 2. ACM, 86--93.
[4]
I. do Carmo Machado, J. D. McGregor, Y. Cerqueira Cavalcanti, and E. Santana de Almeida. 2014. On strategies for testing software product lines: A systematic literature review. Information and Software Technology 56, 10 (2014), 1183--1199.
[5]
C. Henard, M. Papadakis, G. Perrouin, J. Klein, and Y. Le Traon. 2013. Multi-objective Test Generation for Software Product Lines. In International Software Product Line Conference. 62--71.
[6]
R. E. Lopez-Herrejon, J. Ferrer, F. Chicano, E. N. Haslinger, A. Egyed, and E. Alba. 2014. A parallel evolutionary algorithm for prioritized pairwise testing of software product lines. In Genetic and Evolutionary Computation Conference. 1255--1262.
[7]
D. Marijan, A. Gotlieb, S. Sen, and A. Hervieu. 2013. Practical Pairwise Testing for Software Product Lines. In Software Product Line Conference. ACM, 227--235.
[8]
A. Metzger and K. Pohl. 2014. Software Product Line Engineering and Variability Management: Achievements and Challenges. In Proceedings of the on Future of Software Engineering (FOSE 2014). ACM, New York, NY, USA, 70--84.
[9]
J. A. Parejo, A. B. Sánchez, S. Segura, A. Ruiz Cortés, R. E. Lopez-Herrejon, and A. Egyed. 2016. Multi-Objective Test Case Prioritization in Highly-Configurable Systems: A Case Study. Journal of Systems and Software 122 (2016), 287--310.
[10]
A. B. Sánchez, S. Segura, and A. Ruiz Cortés. 2015. SmarTest: Accelerating the detection of faults in Drupal. In DrupalConEurope 2015.
[11]
A. B. Sánchez, S. Segura, J. A. Parejo, and A. Ruiz-Cortés. 2017. Variability Testing in the Wild: The Drupal Case Study. Software and Systems Modeling Journal 16, 1 (Apr 2017), 173--194.
[12]
A. B. Sánchez, S. Segura, and A. Ruiz-Cortés. 2014. The Drupal Framework: A Case Study to Evaluate Variability Testing Techniques. In Workshop on Variability Modelling of Software-intensive Systems. ACM, 11:1--11:8.
[13]
A. B. Sánchez, S. Segura, and A. Ruiz-Cortés. 2015. SmarTest: Proposal for accelerating the detection of faults in Drupal. In DrupalCampSpain 2015. Cadiz.
[14]
T. Tomlinson and J. K. VanDyk. 2010. Pro Drupal 7 development: third edition.

Cited By

View all
  • (2020)Trends in prioritization of test casesProceedings of the 35th Annual ACM Symposium on Applied Computing10.1145/3341105.3374036(2005-2011)Online publication date: 30-Mar-2020

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
SPLC '17: Proceedings of the 21st International Systems and Software Product Line Conference - Volume B
September 2017
158 pages
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

In-Cooperation

  • Fidetia

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 25 September 2017

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Prioritization
  2. Software product lines
  3. Testing
  4. Tool
  5. Variability

Qualifiers

  • Short-paper
  • Research
  • Refereed limited

Conference

SPLC '17

Acceptance Rates

Overall Acceptance Rate 167 of 463 submissions, 36%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)0
Reflects downloads up to 07 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2020)Trends in prioritization of test casesProceedings of the 35th Annual ACM Symposium on Applied Computing10.1145/3341105.3374036(2005-2011)Online publication date: 30-Mar-2020

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media