Abstract
Software testing is a fundamental activity to improve software quality. However, software testing is one of the most time-consuming and expensive activities of the software development process. Therefore, several testing tools have already been developed to support software testing, including tools for model-based testing (MBT), which is a testing technique to automatically generate testing artifacts from the system model. Some of the advantages of MBT include lower cost and less effort to generate test cases. Therefore, in the last years, a diversity of commercial, academic, and open-source tools to support MBT has been developed to better explore these advantages. Although several testing tools to support MBT were produced in the past years, most of them have been individually and independently developed based on a single architecture. Therefore, it is difficult to integrate, evolve, maintain, and reuse them. One strategy that could minimize those problems would be to use software product lines (SPL), which allows to systematically generating software products at lower costs, in a shorter time, and with higher quality. Therefore, this chapter presents an SPL for testing tools that support MBT (PLeTs (This chapter is an expanded version of previously published paper Rodrigues et al. (PLeTs - Test Automation using Software Product Lines and Model-Based Testing. In: Proceedings of the 22th International Conference on Software Engineering and Knowledge Engineering, pp. 483–488, 2010.))) and how we applied the Stereotype-based Management of Variability (SMarty) approach to manage and resolve the dependencies among components and to represent the variability in PLeTs architecture. PLeTs is a component-based SPL developed to automatically generate MBT tools. The PLeTs MBT tools aim to automate any of the test activities of MBT, for example, the generation of test cases and/or test scripts based on the system model. Basically, PLeTs MBT tools receive, as input, a system model, generate the test cases/scripts, execute the test scripts, and then compare the produced results. Since PLeTs can generate tools that connect to any commercial testing tool, a software testing team can incorporate their own testing tools, hence reducing effort and investment. In a nutshell, the main PLeTs goal is to reuse SPL artifacts and use existing testing tools to ease the development of new MBT tools.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Abbors, F., Backlund, A., Truscan, D.: MATERA - An integrated framework for model-based testing. In: Proceedings of the 17th IEEE International Conference and Workshops on the Engineering of Computer-Based Systems, pp. 321–328 (2010)
Andaloussi, B.S., Braun, A.: A test specification method for software interoperability tests in offshore scenarios: A case study. In: Proceedings of the IEEE International Conference on Global Software Engineering, pp. 169–178 (2006)
Apache: JMeter Performance Test. https://jmeter.apache.org/. Accessed 20 March 2020
Barna, C., Litoiu, M., Ghanbari, H.: Model-based performance testing. In: Proceedings of the 33rd International Conference on Software Engineering, pp. 872–875 (2011)
Bernardi, S., Merseguer, J.: A UML profile for dependability analysis of real-time embedded systems. In: Proceedings of the 6th International Workshop on Software and Performance, pp. 115–124 (2007)
Bernardino, M., Rodrigues, E.M., Zorzo, A.F., Marchezan, L.: Systematic mapping study on MBT: tools and models. IET Software 11, 141–155(14) (2017)
Bertolino, A.: Software testing research: achievements, challenges, dreams. In: Proceedings of the Future of Software Engineering, pp. 85–103 (2007)
Cartaxo, E., Neto, F., Machado, P.: Test case generation by means of UML sequence diagrams and labeled transition systems. In: Proceedings of the IEEE International Conference on Systems, Man and Cybernetics, pp. 1292–1297 (2007)
Costa, L.T.: Conjunto de Características para Teste de Desempenho: Uma Visão a Partir de Ferramentas. Master’s Thesis (in Portuguese), Pontifícia Universidade Católica do Rio Grande do Sul, Porto Alegre, Brazil (2012)
Costa, L.T., Czekster, R.M., Oliveira, F.M., Rodrigues, E.D.M., Silveira, M.B., Zorzo, A.F.: Generating performance test scripts and scenarios based on abstract intermediate models. In: Proceedings of the 24th International Conference on Software Engineering and Knowledge Engineering, pp. 112–117 (2012)
Demathieu, S., Thomas, F., André, C., Gérard, S., Terrier, F.: First experiments using the UML profile for marte. In: Proceedings of the 11th IEEE Symposium on Object Oriented Real-Time Distributed Computing, pp. 50–57 (2008)
Dias Neto, A.C., Subramanyan, R., Vieira, M., Travassos, G.H.: A survey on model–based testing approaches: A systematic review. In: Proceedings of the 1st ACM international Workshop on Empirical Assessment of Software Engineering Languages and Technologies, pp. 31–36 (2007)
El-Far, I.K., Whittaker, J.A.: Model-based software testing. In: Marciniak, J. (ed.) Encyclopedia of Software Engineering, pp. 825–837. Wiley, Hoboken (2001)
Farooq, Q., Lam, C.P.: Evolving the quality of a model-based test suite. In: Proceedings of the IEEE International Conference on Software Testing, Verification, and Validation Workshops, pp. 141–149 (2009)
Farooq, Q., Iqbal, M., Malik, Z., Riebisch, M.: A model-based regression testing approach for evolving software systems with flexible tool support. In: Proceedings of the 17th IEEE International Conference and Workshops on Engineering of Computer Based Systems, pp. 41–49 (2010)
Focus, M.: LoadRunner Professional. https://www.microfocus.com/en-us/products/loadrunner-professional/. Accessed 20 Feb 2020
Gonczy, L., Heckel, R., Varro, D.: Model-based testing of service infrastructure components. In: Proceedings of the 7th International Workshop Testing of Software and Communicating Systems, pp. 155–170 (2007)
Hasling, B., Goetz, H., Beetz, K.: Model-based testing of system requirements using UML use case models. In: Proceedings of the 1st International Conference on Software Testing, Verification, and Validation, pp. 367–376 (2008)
Heiskanen, H., Jääskeläinen, A., Katara, M.: Debug support for model-based GUI testing. In: Proceedings of the 3rd International Conference on Software Testing, Verification and Validation, pp. 25–34 (2010)
Kang, K.C, Cohen, S.G., Hess, J.A., Novak, W.E., Peterson, A.S. Feature-Oriented Domain Analysis (FODA) Feasibility Study. Carnegie-Mellon University, Pittsburgh Software Engineering Institute (1990)
Kästner, C., Apel, S., Kuhlemann, M.: Granularity in software product lines. In: Proceedings of the 30th International Conference on Software Engineering, pp. 311–320 (2008)
Korel, B.: Automated software test data generation. IEEE Trans. Softw. Eng. 16, 870–879 (1990)
Laser, M.S., Rodrigues, E.M., Domingues, A., Oliveira, F., Zorzo, A.F.: Research notes on the architectural evolution of a software product line. Int. J. Softw. Eng. Knowled. Eng. 25, 1753–1758 (2015)
Legeard, B., Utting, M.: Practical Model-Based Testing: A Tools Approach. Morgan Kaufmann Publishers, Burlington (2006)
Linden, F.J., Schmid, K., Rommes, E.: Software Product Lines in Action: The Best Industrial Practice in Product Line Engineering. Springer, New York (2007)
Löffler, R., Meyer, M., Gottschalk, M.: Formal Scenario-based requirements specification and test case generation in healthcare applications. In: Proceedings of the Workshop on Software Engineering in Health Care, pp. 57–67 (2010)
Memon, A.M.: An event-flow model of GUI-based applications for testing: Research articles. Softw. Testing Verif. Reliab. 17, 137–157 (2007)
Menascé, D.A.: TPC-W: A benchmark for e-Commerce. IEEE Int. Comput. 6(3), 83–87 (2002)
Myers, G.J., Sandler, C., Badgett, T.: The Art of Software Testing. Wiley, Hoboken (2011)
Olimpiew, E.M.: Model-based testing for software product lines. Ph.D. Thesis, George Mason University, Washington (2008)
OliveiraJr, E., Gimenes, I.M.S., Maldonado, J.C.: Systematic management of variability in UML-based software product lines. J. Univer. Comput. Sci. 16, 2374–2393 (2010)
OMG: Unified Modeling Language - UML. http://www.uml.org/. Accessed 30 April 2020
Perez, J., Guckenheimer, S.: Software Engineering with Microsoft Visual Studio Team System. Pearson Education, London (2006)
Rodrigues, E.M., Viccari, L.D., Zorzo, A.F.: PLeTs - Test automation using software product lines and model-based testing. In: Proceedings of the 22th International Conference on Software Engineering and Knowledge Engineering, pp. 483–488 (2010)
Rodrigues, E.M., Zorzo, A.F., OliveiraJr, E, Gimenes, I.M.S., Maldonado, J.C., Domingues, A.R.: PlugSPL: An automated environment for supporting plugin-based software product lines. In: Proceedings of the 24th International Conference on Software Engineering and Knowledge Engineering, pp. 647–650 (2012)
Roubtsov, V.: EMMA: a Free Java Code Coverage Tool. http://emma.sourceforge.net. Accessed 20 March 2020
Sarma, M., Murthy, P., Jell, S., Ulrich, A.: Model-based testing in industry: A case study with two MBT tools. In: Proceedings of the 5th Workshop on Automation of Software Test, pp. 87–90 (2010)
Schulz, S., Honkola, J., Huima, A.: Towards model-based testing with architecture models. In: Proceedings of the 14th Annual IEEE International Conference and Workshops on the Engineering of Computer-Based Systems, pp. 495–502 (2007)
Shafique, M., Labiche, Y.: A systematic review of model-based testing tool support. Technical Report, Department of Systems and Computer Engineering, Carleton University, Ottawa, Canada (2010). http://squall.sce.carleton.ca/pubs/tech_report/TR_SCE-10-04.pdf
Silveira, M.B.: Conjunto de Características para Teste de Desempenho: uma Visão a partir de Modelos. Master’s thesis (in Portuguese), Pontifícia Universidade Católica do Rio Grande do Sul, Porto Alegre, Brazil (2012)
Silveira, M.B., Rodrigues, E.M., Zorzo, A.F., Vieira, H., Oliveira, F.M.: Model-based automatic generation of performance test scripts. In: Proceedings of the 13th International Conference on Software Engineering and Knowledge Engineering, pp. 258–263 (2011)
Stefanescu, A., Wieczorek, S., Kirshin, A.: MBT4Chor: A model-based testing approach for service choreographies. In: Proceedings of the 5th European Conference on Model Driven Architecture - Foundations and Applications, pp. 313–324 (2009)
Stefanescu, A., Wieczorek, S., Wendland, M.F.: Using the UML testing profile for enterprise service choreographies. In: Proceedings of the 36th Euromicro Conference on Software Engineering and Advanced Applications, pp. 12–19 (2010)
Thum, T., Kastner, C., Erdweg, S., Siegmund, N.: Abstract features in feature modeling. In: Proceedings of the 15th International Software Product Line Conference, pp. 191–200 (2011)
Thüm, T., Kästner, C., Benduhn, F., Meinicke, J., Saake, G., Leich, T.: FeatureIDE: An extensible framework for feature-oriented software development. Sci. Comput. Programm. 1, 1–16 (2012)
Veanes, M., Campbell, C., Grieskamp, W., Schulte, W., Tillmann, N., Nachmanson, L.: Model-based testing of object-oriented reactive systems with spec explorer. In: Formal Methods and Testing, pp. 39–76. Springer, Berlin (2008)
Vincenzi, A., Maldonado, J., Wong, W., Delamaro, M.: Coverage testing of Java programs and components. Sci. Comput. Programm. 56, 211–230 (2005)
Yuan, Y., Li, Z., Sun, W.: A graph-search based approach to BPEL4WS test generation. In: International Conference on Software Engineering Advances, pp. 1–9 (2012)
Acknowledgement
This work is partially supported by the Brazilian funding agency CNPq (Grant 306250/2021-7).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Rodrigues, E.M., Zorzo, A.F., Marchezan, L. (2023). PLeTs: A Software Product Line for Testing Tools. In: OliveiraJr, E. (eds) UML-Based Software Product Line Engineering with SMarty. Springer, Cham. https://doi.org/10.1007/978-3-031-18556-4_14
Download citation
DOI: https://doi.org/10.1007/978-3-031-18556-4_14
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-18555-7
Online ISBN: 978-3-031-18556-4
eBook Packages: Computer ScienceComputer Science (R0)