Abstract
Requirement-based testing (RBT) is widely known for the efficient testing in the limited resources. However RBT is difficult to generate automatic test cases; thus it needs complex methods. This paper suggests our automatic test case generation for all coverage (statement, condition, decision, condition/decision, modified condition/decision, and multiple condition coverage) based on the model-based testing. To do this, we extend the original control flow graph with multiple conditions for all condition related coverage, which is called multiple conditions control flow graph, and adapt a model transformation using metamodel mechanism for test case generation. As a result, our proposed method successfully applies to the prior test requirement.
Similar content being viewed by others
References
Kim, H.N., Park, S.M., Kim, D.H.: Current technology trends in embedded software. Commun. Korean Inst. Inform. Sci. Eng. 24(8), 5–11 (2006)
Jung, H.J.: The analysis of data on the basis of software test data. J. Digit. Converg. 13(10), 1–7 (2015)
Kwon, W.I.: The necessity of testing software for software quality improvement. FKII Digit. 365, 66–69 (2008)
Burnstein, I.: Parctical Software Testing. Springer, New York (2003)
Beizer, B.I.: Software Testing Techniques. Dreamtech Press, New Delhi (2002)
Kwon, W.I., Park, C.E.Y., Lee, H.J., Cho, H.I.: Practical Software Testing Foundation. Software Testing Alliances (2008)
Amland, S.: Risk-based testing: risk analysis fundamentals and metrics for software testing including a financial application case study. J. Syst. Softw. 53, 287–295 (2000)
Pezze, M., Young, M.: Software Testing and Analysis: Process, Principles, and Techniques. Wiley, New York (2008)
OMG, MOF 2.0/XMI Mapping, v2.1.1, OMG Available Specification (2007)
Steinberg, D., Budinsky, F., Merks, E., Paternostro, M.: EMF: eclipse modeling framework. Addison-Wesley, Reading (2008)
Muchnick, S.: Advanced Compiler Design and Implementation, 1st edn. Morgan Kaufmann, San Francisco (1997)
Chilenski, J.J., Miller, S.P.: Applicability of modified condition/decision coverage to software testing. Softw. Eng. J. 9, 193–200 (1994)
Yang, Q., Li, J.J., Weiss, D.M.: A survey of coverage-based testing tools. Comput. J. 52(5), 589–597 (2009)
Rountev, A., Kagan, S., Sawin, J.: Coverage criteria for testing of object interactions in sequence diagrams. In: Proceedings of Conference on Fundamental Approaches to Software Engineering, pp. 289–304 (2005)
Cardoso, J., Sibertin-Blanc, C.: Ordering actions in sequence diagrams of UML. In: Proceedings of International Conference on Information Technology Interfaces, pp. 3–14 (2001)
Garousi, V., Briand, L.C., Labiche, Y.: Control flow analysis of UML 2.0 sequence diagrams. ECMDA-FA 2005. LNCS, vol. 3748, pp. 160–174 (2005)
OMG, Unified Modeling Language Superstructure Version 2.4, ptc/2010-11-14
Acknowledgements
This research was supported by the Human Resource Training Program for Regional Innovation and Creativity through the Ministry of Education and National Research Foundation of Korea (NRF-2015H1C1A1035548).
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Son, H.S., Park, Y.B. & Kim, R.Y.C. MCCFG: an MOF-based multiple condition control flow graph for automatic test case generation. Cluster Comput 22 (Suppl 1), 2461–2470 (2019). https://doi.org/10.1007/s10586-016-0687-1
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10586-016-0687-1