Skip to main content

Test Cases Automatic Generator (TCAG): A Prototype

  • Conference paper
Advanced Machine Learning Technologies and Applications (AMLTA 2012)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 322))

  • 3297 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Berenbach, B., Paulish, D., Kazmeier, J., Rudorfer, A.: Software and Systems Requirements Engineering in Practice. The McGraw-Hill Companies Inc., USA (2009)

    Google Scholar 

  2. 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)

    Google Scholar 

  3. 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)

    Chapter  Google Scholar 

  4. McCabe, T.J.: A Complexity Measure. IEEE Trans. Softw. Eng. 2(4), 308–320 (1976)

    Article  MathSciNet  MATH  Google Scholar 

  5. Ostrand, T.J., Balcer, M.J.: The category-partition method for specifying and generating fuctional tests. Commun. ACM 31(6), 676–686 (1988)

    Article  Google Scholar 

  6. 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)

    Chapter  Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. 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)

    Chapter  Google Scholar 

  11. 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)

    Article  Google Scholar 

  12. 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)

    Google Scholar 

  13. Test Complete v.8.0 (July 2012), http://www.automatedqa.com/products/testcomplete/

  14. IBM Rational Robot (July 2012), http://www._01.ibm.com/software/awdtools/tester/robot/

    Google Scholar 

  15. IBM Functional Tester (July 2012), http://www._01.ibm.com/software/awdtools/tester/functional/

    Google Scholar 

  16. HP-Requirements-Management (July 2012), http://www8.hp.com/us/en/software/software-product.html?compURI=tcm:245-937050&pageTitle=requirements-management

  17. IBM RequisitePro (July 2012), http://www_01.ibm.com/software/awdtools/reqpro/

    Google Scholar 

  18. 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)

    Google Scholar 

  19. 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)

    Google Scholar 

  20. 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)

    Google Scholar 

  21. 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)

    Chapter  Google Scholar 

  22. Nayak, A., Samanta, D.: Synthesis of test scenarios using UML activity diagrams. Softw. Sys. Model. 10(1), 63–89 (2011)

    Article  Google Scholar 

  23. Sommerville, I.: Software Engineering, 7th edn., Harlow, England (2004)

    Google Scholar 

  24. Microsoft Dynamics Course 8913: Applications in Microsoft Dynamics CRM 4.0 (2008)

    Google Scholar 

  25. Agarwal, B.B., Tayal, S.P., Gupta, M.: Software Engineering and testing. Infinity Science Press, Jones and Bartlett, Hingham, Toronto (2010)

    Google Scholar 

  26. Sedgewick, R., Wayne, K.: Algorithms. Addison Wesley, Princeton University, US (2011)

    Google Scholar 

  27. Allen, A.O.: Introduction to Computer Performance Analysis with Mathematica. Morgan Kaufmann Pub., California (1994)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics