Abstract
Light has been shed recently on the usage ofrequirements-based testing where requirements-based models, specifically UML models, are used in proposing test cases’ generation models. In this paper, an automated prototype called “Test Cases Automatic Generator” (TCAG) is proposed, implementing an introduced enhanced technique for generating reduced, hybrid coverage and multi-testing types test cases from activity diagrams with a minimum user intervention. After their generation, the final test cases are captured using one of the well known automatic capture-replay tools and are executed generating summary reports. A traceability matrix called “Test cases Traceability Matrix” (TTM) is proposed and used by one of the well known requirements management tools to trace the final generated test cases to their initial requirements. Qualitative and quantitative evaluation of the proposed prototype is made, under different processing speeds, showing the improved performance over its previous releases and over a closely related prototype as well.
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
Berenbach, B., Paulish, D., Kazmeier, J., Rudorfer, A.: Software and Systems Requirements Engineering in Practice. The McGraw-Hill Companies Inc., USA (2009)
Boghdady, P.N., Badr, N., Hashem, M., Tolba, M.F.: Test Case Generation and Test Data Extraction Techniques. Inter. J. Electr. Comput. Sci. 11(3), 87–94 (2011)
Hasling, B., Goetz, H., Beetz, K.: Model Based Testing of System Requirements using UML Use Case Models. In: International Conference on Software Testing, Verification, and Validation, April 9-11, pp. 367–376. IEEE Computer Society, Washington DC (2008)
McCabe, T.J.: A Complexity Measure. IEEE Trans. Softw. Eng. 2(4), 308–320 (1976)
Ostrand, T.J., Balcer, M.J.: The category-partition method for specifying and generating fuctional tests. Commun. ACM 31(6), 676–686 (1988)
Linzhang, W., Jiesong, Y., Xiaofeng, Y., Jun, H., Xuandong, L., Guoliang, Z.: Generating test cases from UML Activity diagram based on gray-box method. In: 11th Asia-Pacific Software Engineering Conference, November 30-December 3, pp. 284–291. IEEE Computer Society, Busan (2004)
Basanieri, F., Bertolino, A., Marchetti, E.: The Cow_Suite Approach to Planning and Deriving Test Suites in UML Projects. In: 5th International Conference on the Unified Modeling Language - the Language and its Applications UML, Dresden, Germany, September 30-October 4, pp. 383–397 (2002)
Huima, A.: Implementing Conformiq Qtronic. In: 19th IFIP International Conference on Testing of Communicating Systems and 7th International Workshop on Formal Approaches to Testing of Software, Tallinn, Estonia, June 26-29, pp. 1–12 (2007)
Jacky, J.: PyModel: Model-based testing in Python. In: The Northwest Python Day Event Hosted by SCCC IT Program, Seattle Central Community College (January 30, 2010)
Bouquet, F., Grandpierre, C., Legeard, B., Peureux, F.: A test generation solution to automate software testing. In: 3rd International Workshop on Automation of Software Test, May 10-18, pp. 45–48. ACM, Leipzig (2008)
Ali, S., Briand, L.C., Jaffar-Ur Rehman, M., Asghar, H., Iqbal, M.Z.Z., Nadeem, A.: A State-based Approach to Integration Testing based on UML Models. Inf. Softw. Technol. J. 49(11-12), 1087–1106 (2007)
Srivastava, P.R., Puyalnithi, T., Verma, B., Raghurama, G.: State Oriented Software Integration Testing for Object Oriented Applications. Eur. J. Sci. Res. 20(3), 483–495 (2008)
Test Complete v.8.0 (July 2012), http://www.automatedqa.com/products/testcomplete/
IBM Rational Robot (July 2012), http://www._01.ibm.com/software/awdtools/tester/robot/
IBM Functional Tester (July 2012), http://www._01.ibm.com/software/awdtools/tester/functional/
HP-Requirements-Management (July 2012), http://www8.hp.com/us/en/software/software-product.html?compURI=tcm:245-937050&pageTitle=requirements-management
IBM RequisitePro (July 2012), http://www_01.ibm.com/software/awdtools/reqpro/
Boghdady, P.N., Badr, N., Hashem, M., Tolba, M.F.: A Proposed Test Case Generation Technique Based on Activity Diagrams. Int. J. Eng. Technol. 11(3), 37–57 (2011)
Boghdady, P.N., Badr, N., Hashem, M.A., Tolba, M.F.: An Enhanced Test Case Generation Technique Based on Activity Diagrams. In: 7th International Conference on Computer Engineering and Systems, November 29-December 1, pp. 289–294. IEEE Xplore, Cairo (2011)
Boghdady, P.N., Badr, N., Hashem, M.A., Tolba, M.F.: An Enhanced Technique for Generating Hybrid Coverage Test Cases Using Activity Diagrams. In: 8th International Conference on Informatics and Systems, May 14-16, pp. 20–28. IEEE Xplore, Cairo (2012)
Ye, N., Chen, X., Jiang, P., Ding, W., Li, X.: Automatic Regression Test Selection based on Activity Diagrams. In: 5th International Conference of Secure Software Integration & Reliability Improvement Companion, June 27-29, pp. 166–171. IEEE Xplore, Jeju Island (2011)
Nayak, A., Samanta, D.: Synthesis of test scenarios using UML activity diagrams. Softw. Sys. Model. 10(1), 63–89 (2011)
Sommerville, I.: Software Engineering, 7th edn., Harlow, England (2004)
Microsoft Dynamics Course 8913: Applications in Microsoft Dynamics CRM 4.0 (2008)
Agarwal, B.B., Tayal, S.P., Gupta, M.: Software Engineering and testing. Infinity Science Press, Jones and Bartlett, Hingham, Toronto (2010)
Sedgewick, R., Wayne, K.: Algorithms. Addison Wesley, Princeton University, US (2011)
Allen, A.O.: Introduction to Computer Performance Analysis with Mathematica. Morgan Kaufmann Pub., California (1994)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Boghdady, P.N., Badr, N.L., Hashim, M.A., Tolba, M.F. (2012). Test Cases Automatic Generator (TCAG): A Prototype. In: Hassanien, A.E., Salem, AB.M., Ramadan, R., Kim, Th. (eds) Advanced Machine Learning Technologies and Applications. AMLTA 2012. Communications in Computer and Information Science, vol 322. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-35326-0_36
Download citation
DOI: https://doi.org/10.1007/978-3-642-35326-0_36
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-35325-3
Online ISBN: 978-3-642-35326-0
eBook Packages: Computer ScienceComputer Science (R0)