with all discussed selection techniques, being this a
great benefit of the tool.
6 CONCLUSION
This paper introduced TCG, an MBT tool for func-
tional and statistical tests. It uses as input both LTS
and probabilistic LTS models and provides 8 classic
test case generation techniques along with 5 selection
heuristics. The main contributions are the implemen-
tation of a variety of techniques in only one tool, in-
cluding ones that have not been implemented in sim-
ilar tools, and the introduction of a new selection cri-
teria, the minimum probability of path. We showed
a case study where the tool was used to generate and
select test suites for a distributed system.
Currently we are increasing the tool features by
allowing the automatically generation of test scripts
from the produced test suites. We are also working
on defining and implementing a probabilistic criteria
to compare the whole test suite, and not only individ-
ual test cases. As future work, we intend to use the
tool in other contexts, particularly real cases from the
industry, to assess its usability and applicability, and
implement some prioritization techniques.
REFERENCES
Aichernig, B., Krenn, W., Eriksson, H., and Vinter, J.
(2008). D 1.2 - state of the art survey - part a: Model-
based test case generation. Technical report, AIT Aus-
trian Institute of Technology GmbH.
Antoniol, G., Briand, L., Di Penta, M., and Labiche, Y.
(2002). A case study using the round-trip strategy for
state-based class testing. In Software Reliability Engi-
neering, 2002. ISSRE 2003. Proceedings. 13th Inter-
national Symposium on, pages 269–279.
Beizer, B. (1995). Black-box Testing: Techniques for Func-
tional Testing of Software and Systems. John Wiley &
Sons, Inc., New York, NY, USA.
Bertolino, A., Cartaxo, E., Machado, P., and Marchetti, E.
(2008). Weighting influence of user behavior in soft-
ware validation. In Database and Expert Systems Ap-
plication, 2008. DEXA ’08. 19th International Work-
shop on, pages 495–500.
Binder, R. V. (1999). Testing Object-oriented Systems:
Models, Patterns, and Tools. Addison-Wesley Long-
man Publishing Co., Inc., Boston, MA, USA.
Cartaxo, E. G., Andrade, W. L., Neto, F. G. O., and
Machado, P. D. L. (2008). Lts-bt: A tool to gener-
ate and select functional test cases for embedded sys-
tems. In Proceedings of the 2008 ACM Symposium
on Applied Computing, SAC ’08, pages 1540–1544.
ACM.
Cartaxo, E. G., Machado, P. D. L., and Neto, F. G. O.
(2011). On the use of a similarity function for test
case selection in the context of model-based testing.
Softw. Test. Verif. Reliab., 21(2):75–100.
Dalal, S. R., Jain, A., Karunanithi, N., Leaton, J. M., Lott,
C. M., Patton, G. C., and Horowitz, B. M. (1999).
Model-based testing in practice. In Proceedings of the
21st International Conference on Software Engineer-
ing, ICSE ’99, pages 285–294. ACM.
de Vries, R. G. (2001). In Tretmans, G. J. and Brinksma,
H., editors, Formal Approaches to Testing of Soft-
ware 2001 (FATES’01), Aarhus, Denmark, volume
NS-01-4 of BRICS Notes Series, pages 61–76, Aarhus,
Denkmark.
Epifani, I., Ghezzi, C., Mirandola, R., and Tamburrelli,
G. (2009). Model evolution by run-time adaptation.
In ICSE ’09: Proceedings of the 31st International
Conference on Software Engineering, pages 111–121,
Vancouver, Canada. ACM.
Feliachi, A. and Le Guen, H. (2010). Generating transi-
tion probabilities for automatic model-based test gen-
eration. In Software Testing, Verification and Valida-
tion (ICST), 2010 Third International Conference on,
pages 99–102.
Keller, R. M. (1976). Formal verification of parallel pro-
grams. Commun. ACM, 19:371–384.
Poore, J. and Trammell, C. (1999). Application of statisti-
cal science to testing and evaluating software intensive
systems. In Science and Engineering for Software De-
velopment: A Recognition of Harlan D. Mills’ Legacy,
1999. Proceedings, pages 40–57.
Sayre, K. and Poore, J. H. (1999). Partition testing with us-
age models. In Proceedings of the Science and Engi-
neering for Software Development: A Recognition of
Harlan D. Mills’ Legacy, SESD ’99, pages 24–. IEEE
Computer Society.
Shafique, M. and Labiche, Y. (2013). A systematic review
of state-based test tools. International Journal on Soft-
ware Tools for Technology Transfer, pages 1–18.
Shirole, M. and Kumar, R. (2013). Uml behavioral model
based test case generation: A survey. SIGSOFT Softw.
Eng. Notes, 38(4):1–13.
Trammell, C. (1995). Quantifying the reliability of soft-
ware: Statistical testing based on a usage model. In
Proceedings of the 2Nd IEEE Software Engineering
Standards Symposium, ISESS ’95, pages 208–, Wash-
ington, DC, USA. IEEE Computer Society.
Utting, M. and Legeard, B. (2007). Practical Model-Based
Testing: A Tools Approach. Morgan Kaufmann Pub-
lishers Inc., San Francisco, CA, USA.
Walton, G. H. and Poore, J. H. (2000). Generating transition
probabilities to support model-based software testing.
Softw. Pract. Exper., 30(10):1095–1106.
Walton, G. H., Poore, J. H., and Trammell, C. J. (1995).
Statistical testing of software based on a usage model.
Softw. Pract. Exper., 25(1):97–108.
Weissleder, S. and Schlingloff, H. (2014). An evalu-
ation of model-based testing in embedded applica-
tions. In Software Testing, Verification and Validation
(ICST), 2014 IEEE Seventh International Conference
on, pages 223–232.
Zhou, K., Wang, X., Hou, G., and Jie Wang, S. A.
(2012). Software reliability test based on markov us-
age model. Journal of Software, 7(9):2061–2068.
TCG-AModel-basedTestingToolforFunctionalandStatisticalTesting
411