trial instances of the problem and the results showed
that Constraint Programming with global constraints
achieves good results in terms of reduction rate on
both the random and industrial instances. For indus-
trial instances, three Constraint Programming mod-
els are compared with different global constraints
and we show that this is a mixture of NVALUE
and GLOBAL CARDINALITY which achieves the best
result. Interestingly, these results show that Con-
straint Programming is competitive with other multi-
objectives test suite optimization approaches.
The main persepctive of this work includes the
deployment of this technique and its industrial adop-
tion. Even if the preliminary results reported in this
paper need to be further refined and extended, we be-
lieve that they are sufficiently convincing to industri-
alize the technology. For that purpose, its integration
within an existing software development chain needs
to be understood. In particular, handling meta-data
about test cases such as duration, priority and code-
coverage needs a proper instrumentation and the im-
plementation or usage of specific monitiring tools to
capture the required information.
REFERENCES
Agrawal, H. (1999). Efficient coverage testing using global
dominator graphs. In Workshop on Program Analysis
for Software Tools and Eng. (PASTE’99).
Black, J., Melachrinoudis, E., and Kaeli, D. (2004). Bi-
criteria models for all-uses test suite reduction. In 26th
Int. Conf. on Software Eng., pages 106–115.
Campos, J., Riboira, A., Perez, A., and Abreu, R. (2012).
Gzoltar: an eclipse plug-in for testing and debug-
ging. In IEEE/ACM International Conference on Au-
tomated Software Engineering, ASE’12, Essen, Ger-
many, September 3-7, 2012, pages 378–381.
Chen, Z., Zhang, X., and Xu, B. (2008). A degraded ILP
approach for test suite reduction. In 20th Int. Conf. on
Soft. Eng. and Know. Eng.
Cohen, D. M., Dalal, S. R., Fredman, M. L., and Patton,
G. C. (1997). The aetg system: An approach to testing
based on combinatorial design. IEEE Transactions on
Software Engineering, 23(7):437 – 444.
Ferrer, J., Kruse, P. M., Chicano, F., and Alba, E. (2015).
Search based algorithms for test sequence generation
in functional testing. Information and Software Tech-
nology, 58(0):419 – 432.
Gotlieb, A., Carlsson, M., Liaeen, M., Marijan, D., and
Petillon, A. (2016). Automated regression testing
using constraint programming. In Proc. of Innova-
tive Applications of Artificial Intelligence (IAAI’16),
Phoenix, AZ, USA.
Gotlieb, A. and Marijan, D. (2014). Flower: Optimal test
suite reduction as a network maximum flow. In Proc.
of Int. Symp. on Soft. Testing and Analysis (ISSTA’14),
San Jos
´
e, CA, USA.
Hao, D., Zhang, L., Wu, X., Mei, H., and Rothermel, G.
(2012). On-demand test suite reduction. In Int. Con-
ference on Software Engineerig, pages 738–748.
Harrold, M. J., Gupta, R., and Soffa, M. L. (1993). A
methodology for controlling the size of a test suite.
ACM TOSEM, 2(3):270–285.
Henard, C., Papadakis, M., Perrouin, G., Klein, J., and
Traon, Y. L. (2013). Multi-objective test generation
for software product lines. In 17th International Soft-
ware Product Line Conference, SPLC 2013, Tokyo,
Japan - August 26 - 30, 2013, pages 62–71.
Hsu, H.-Y. and Orso, A. (2009). MINTS: A general frame-
work and tool for supporting test-suite minimization.
In 31st Int. Conf. on Soft. Eng. (ICSE’09), pages 419–
429.
Jeffrey, D. and Gupta, N. (2005). Test suite reduction with
selective redundancy. In 21st Int. Conf. on Soft. Main-
tenance, pages 549–558.
Johansen, M. F., Haugen, O., and Fleurey, F. (2012). An
algorithm for generating t-wise covering arrays from
large feature models. In Proceedings of the 16th In-
ternational Software Product Line Conference - Vol-
ume 1, SPLC ’12, pages 46–55, New York, NY, USA.
ACM.
Kuhn, D. R., Wallace, D. R., and Gallo, Jr., A. M. (2004).
Software fault interactions and implications for soft-
ware testing. IEEE Trans. Softw. Eng., 30(6):418–421.
Li, D., Jin, Y., Sahin, C., Clause, J., and Halfond, W. G. J.
(2014). Integrated energy-directed test suite optimiza-
tion. In International Symposium on Software Testing
and Analysis, ISSTA ’14, San Jose, CA, USA - July 21
- 26, 2014, pages 339–350.
Martin Fagereng Johansen, O. H. and Fleurey, F. (2011).
Properties of realistic feature models make combina-
torial testing of product lines feasible. In Conference
on Model Driven Engineering Languages and Systems
(MODELS’11), pages 638–652.
Mendonca, M., Wkasowski, A., and Czarnecki, K. (2009).
SAT-based analysis of feature models is easy. In Pro-
ceedings of the 13th International Software Product
Line Conference, SPLC ’09, pages 231–240, Pitts-
burgh, PA, USA. Carnegie Mellon University.
Mouthuy, S., Deville, Y., and Dooms, G. (2007). Global
constraint for the set covering problem. In Journ
´
ees
Francophones de Programmation par Contraintes,
pages 183–192.
Offutt, A. J., Pan, J., and Voas, J. M. (1995). Procedures for
reducing the size of coverage-based test sets. In 12th
Int. Conf. on Testing Computer Soft.
Oster, S., Markert, F., and Ritter, P. (2010). Automated in-
cremental pairwise testing of software product lines.
In Software Product Lines: Going Beyond, volume
6287 of Lecture Notes in Computer Science, pages
196–210. Springer Berlin Heidelberg.
Pachet, F. and Roy, P. (1999). Automatic generation of mu-
sic programs. In Principles and Practice of Constraint
Prog., volume 1713 of LNCS.
Perrouin, G., Oster, S., Sen, S., Klein, J., Baudry, B., and
Traon, Y. L. (2012). Pairwise testing for software
product lines: comparison of two approaches. Soft-
ware Quality Journal, 20(3-4):605–643.
A New Approach to Feature-based Test Suite Reduction in Software Product Line Testing
57