skip to main content
research-article

Test case prioritization using ant colony optimization

Authors Info & Claims
Published:20 July 2010Publication History
Skip Abstract Section

Abstract

Regression testing is primarily a maintenance activity that is performed frequently to ensure the validity of the modified software. In such cases, due to time and cost constraints, the entire test suite cannot be run. Thus, it becomes essential to prioritize the tests in order to cover maximum faults in minimum time. In this paper, ant colony optimization is used, which is a new way to solve time constraint prioritization problem. This paper presents the regression test prioritization technique to reorder test suites in time constraint environment along with an algorithm that implements the technique.

References

  1. Alspaugh, S., Wolcott, K.R, Belanich, M., Kapfhamer, G.M. and Lou Soffa, M. (2007): Efficient Time Aware Prioritization with Knapsack Solyers, ACM New York,USA, pp.13--18. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Ayari, K., Bouktif, S. and Antoniol, G. (2007): Automatic Mutation Test Input Data Generation via Ant Colony. pp:1074 Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Caro, G. Di and Dorigo, M., (1998): AntNet: Distributed stigmergetic control for communications networks. Journal of Artificial Intelligence Research, 9, pp. 317--365. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Caro, G. Di and Dorigo, M., (1998): Antnet: Distributed stigmergetic control for communications networks.Journal of Artificial Intelligence Research, 9, pp. 317--367. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Colorni, A., Dorigo, M., and Maniezzo, V., (1991): Distributed optimization by ant colonies. In Proceedings of ECAL'91, European Conference on Artificial Life, Elsevier Publishing, Amsterdam.Google ScholarGoogle Scholar
  6. Dorigo, M., Maniezzo, V. and Colorni, A. (1996): Ant System: Optimization by a colony of cooperating agents. IEEE Trannsactions on Systems, Man and Cybernetics, B(26), pp.29--41. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Dorigo, M., (1992): Optimization, learning and natural algorithms, Ph.D. Thesis, Politecnico diMilano, Milano.Google ScholarGoogle Scholar
  8. Dorigo, M., Maniezzo, V. and Colorni, A., (1991): The Ant System: An Autocatalytic Optimizing Process, Technical Report TR91-016, Politecnico di Milano.Google ScholarGoogle Scholar
  9. Dorigo, M. http://iridia.ulb.ac.be/mdorigo/ACO/ACO.htmlGoogle ScholarGoogle Scholar
  10. Dorigo, M. and Socha, K. (2007): An Introduction to Ant Colony Optimization. CRC Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Elbaum, S., Rothermel, G., Kanduri, S., Malishevsky, A.G., (2004): Selecting a cost-effective test case prioritization technique. Software Quality Journal 12(3), pp.185--210. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Gomez, O. and Baren, B. (2005): Omicron ACO. A New Ant Colony Optimization Algorithm. clei electronic journal, 8(1), paper 5.Google ScholarGoogle Scholar
  13. Graves, T. L., Harrold, M. J., Kim, M.J., Porter, A. and Rothermel, G. (2001): An empirical study of regression test selection techniques. ACM Trans. on Softw. Eng. and Meth. 10(2). Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Krishnamoorthi, R., Sahaaya, S.A. and Mary, A. (2009): Regression Test Suite Prioritization using Genetic Algorithms. International Journal of Hybrid Information Technology, 2(3), pp. 35.Google ScholarGoogle Scholar
  15. Li, H. and Peng Lam, C. (2005): Software Test Data Generation Using Ant Colony Optimization. pp: 1.Google ScholarGoogle Scholar
  16. Li, L., Ju, S. and Zhang, Y. (2008): Improved Ant Colony Optimization for the Travelling Salesman Problem. International Conference on Intelligent Computation Technology and Automation, pp. 76. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Maniezzo, V., (1999): Exact and approximate nondeterministic tree-search procedures for the quadratic assignment problem, INFORMS Journal of Computing 11(4), pp.358--369. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Maniezzo, V., Gambardella, L.M. and De Luigi, F., (2004): Ant Colony Optimization. New Optimization Techniques in Engineering, by Onwubolu, G. C., and B. V. Babu, Springer-Verlag Berlin Heidelberg, pp. 101--117.Google ScholarGoogle Scholar
  19. Parpinelli, R.S., Lopes, H.S. and Freitas, A.A., (2002): Data mining with an ant colony optimization algorithm. IEEE Transactions on Evolutionary Computation, 6,pp. 321--332. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Rothermel, G., Harrold, M.J., Dedhia, J., (2000): Regression test selection for C++ programs, Software Testing, Verification and Reliability 10(2). pp, 77--109.Google ScholarGoogle Scholar
  21. Rothermel Gregg, Untch, R.H., Chu Chengyun, Harrold, Mary Jean, (Sept1999): Test Case Prioritization: An Empirical Study, in: Proceedings of the International Conference on Software Maintenance, Oxford, UK, 179--188. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Rothermel, G., Untch, R. J. and C. Chu, (2001): Prioritizing test cases for regression testing. IEEE Transaction on Software. Eng., 27(10), pp. 929--948. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Silva, C.A. and Runkler, T.A., (2009): Ant Colony Optimization for dynamic Traveling Salesman Problems. Siemens AG, Corporate Technology Information and Communications, CT IC 481730 Munich -- Germany.Google ScholarGoogle Scholar
  24. Singh Y., Kaur, A. and Suri, B. (2006): A New Technique for Version -- Specific Test Case Selection and Prioritization for Regression Testing. Journal of Computer Society of India, 36(4), pp. 23--32.Google ScholarGoogle Scholar
  25. Walcott, K.R., Lou Soffa, M., Kapfhammer, G.M. and Robert S. Roos, (2006): Time Aware Test Suite Prioritization. pp, 1--2.Google ScholarGoogle Scholar
  26. Zhao, P., Zhao, P. and Zhang, X.(2006): New Ant Colony Optimization for the Knapsack Problem.Google ScholarGoogle Scholar

Index Terms

  1. Test case prioritization using ant colony optimization

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in

        Full Access

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader