Abstract
The problem of generating the test cases is one of the most important issues in the software testing research and practice. Test threads, especially the thin-threads which are the usage scenarios in a software system, are frequently used to generate test cases for the scenario-based software testing. However, the derivation of the test threads is usually a manual and labor-intensive task. In this paper, we propose an automated approach using anti-ant-like agents to directly generate test threads from the UML artifacts. The generated test threads can then be used to generate and to prioritize the test cases for scenario-based software testing.
Chapter PDF
Similar content being viewed by others
References
Assistant Secretary of Defense for Command, Control, Communications, and Intelligence (ASD C3I). End-to-End Integration Test Guidebook (2000)
Basanieri, F., Bertolino, A., Marchetti, E.: CoWTeSt: A Cost Weighed Test Strategy. In: Proc. Escom-Scope 2001, London (2001)
Bai, X., Lam, C.P., Li, H.: An Approach to generate the Thin-threads from the UML Diagrams. In: Proc. COMPSAC 2004, Hong Kong (2004)
Bai, X., Li, H., Lam, C.P.: A Risk Analysis Approach to Prioritize UML-Based Software Testing. In: Proc. SNPD 2004, Beijing (2004)
Bai, X., Tsai, W.T., Paul, R., Feng, K., Yu, L.: Scenario-Based Business Modeling. In: IEEE Proc. of APAQS (2001)
Bennett, S., McRobb, S., Farmer, R.: Object-Oriented Systems Analysis and Design Using UML, 2nd edn. McGraw-Hill Education, New York (2002)
Binder, R.V.: Testing Object-Oriented Systems - Models, Patterns, and Tools. Addison-Wesley, Reading (1999)
Briand, L.: On the many ways Software Engineering can benefit from Knowledge Engineering. In: Proc. 14th SEKE, Italy (2002)
Briand, L., Labiche, Y.: A UML-Based Approach to System Testing. Software and Systems Modeling 1(1) (2002)
Cockburn, A.: Structuring use cases with goals., http://alistair.cockburn.us/
Doerner, K., Gutjahr, W.J.: Extracting Test Sequences from a Markov Software Usage Model by ACO. LNCS, vol. 2724, pp. 2465–2476. Springer, Heidelberg (2003)
Dorigo, M., Maniezzo, V., Colorni, A.: Positive Feedback as a Search Strategy, Technical Report No. 91-016, Politecnico di Milano, Italy (1991)
Dorigo, M., Maniezzo, V., Colorni, A.: The Ant System: Optimization by a Colony of Cooperating Agents. IEEE Transactions on Systems, Man, and Cybernetics-Part B 26(1) (1996)
Heumann, J.: Introduction to Business Modeling Using the Unified Modeling Language (UML), http://www.therationaledge.com/content/mar_01/m_uml_jh.html
Horgan, J., London, S., Lyu, M.: Achieving Software Quality with Testing Coverage Measures. IEEE Computer 27(9) (1994)
Kaner, C., Falk, J., Nguyen, H.Q.: Testing computer software, 2nd edn. John Wiley & Sons, Chichester (1999)
Kim, Y., Carlson, C.R.: Scenario Based Integration Testing for Object-Oriented Software Development. In: Proceedings of the Eighth Asian Test Symposium, Shanghai (1999)
Lam, C.P., Robey, M.C., Li, H.: Application of AI for Automation of Software Testing. In: Proc. SNPD2003, Germany (2003)
Li, H., Lam, C.P.: Optimization of State-based Test Suites for Software Systems: An Evolutionary Approach. International Journal of Computer and Information Science 5(3) (2004)
Li, H., Lam, C.P.: Software Test Data Generation using Ant Colony Optimization. In: To appear in Proc. ICCI 2004 (2004)
McMinn, P., Holcombe, M.: The State Problem for Evolutionary Testing. In: Cantú-Paz, E., Foster, J.A., Deb, K., Davis, L., Roy, R., O’Reilly, U.-M., Beyer, H.-G., Kendall, G., Wilson, S.W., Harman, M., Wegener, J., Dasgupta, D., Potter, M.A., Schultz, A., Dowsland, K.A., Jonoska, N., Miller, J., Standish, R.K. (eds.) GECCO 2003. LNCS, vol. 2723. Springer, Heidelberg (2003)
Tsai, W.T., Bai, X., Paul, R., Shao, W., Agarwal, V.: End-To-End Integration Testing Design. In: Proc. COMPSAC 2001, Chicago (2001)
Weyuker, E.J.: Testing Component-Based Software: A cautionary Tale. IEEE Software 15(5) (1998)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 IFIP International Federation for Information Processing
About this paper
Cite this paper
Li, H., Lam, C.P. (2005). Using Anti-Ant-like Agents to Generate Test Threads from the UML Diagrams. In: Khendek, F., Dssouli, R. (eds) Testing of Communicating Systems. TestCom 2005. Lecture Notes in Computer Science, vol 3502. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11430230_6
Download citation
DOI: https://doi.org/10.1007/11430230_6
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-26054-7
Online ISBN: 978-3-540-32076-0
eBook Packages: Computer ScienceComputer Science (R0)