skip to main content
research-article

On the relationship between use cases and test suites size: an exploratory study

Authors Info & Claims
Published:12 July 2013Publication History
Skip Abstract Section

Abstract

Software testing, which plays a crucial role in software quality assurance, is a time and resource consuming process. It is, therefore, necessary to estimate as soon as possible the effort required to test software, so that activities can be planned and resources can be optimally allocated. Unfortunately, little is known about the prediction of the testing effort. In this paper, we address the testing effort from the perspective of test suites size. The study presented aims at exploring empirically the relationships between use cases and the size of test suites in object-oriented systems. We introduce four metrics to characterize the size and complexity of use cases. The size of test suites is measured in terms of lines of test code. We performed an experimental study using data collected from five cases studies. Results provide evidence that there is a significant relationship between use case metrics and the size of test suites.

References

  1. M. Bruntink and A. Van Deursen, "Predicting class testability using object-oriented metrics", in Proceedings of the 4th IEEE International Workshop on Source Code Analysis and Manipulation (SCAM '04), pp. 136--145, September 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. V. Gupta, K. K. Aggarwal, and Y. Singh, "A Fuzzy Approach for Integrated Measure of Object-Oriented Software Testability", Journal of Computer Science, vol. 1, no. 2, pp. 276--282, 2005.Google ScholarGoogle ScholarCross RefCross Ref
  3. M. Bruntink and A. van Deursen, "An empirical study into class testability", Journal of Systems and Software, vol. 79, no. 9, pp. 1219--1232, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Y. Singh, A. Kaur, and R.Malhota, "Predicting testability effort using artificial neural network", in Proceedings of the World Congress on Engineering and Computer Science, San Francisco, Calif, USA, 2008.Google ScholarGoogle Scholar
  5. Y. Singh, A. Kaur, and R. Malhotra, "Empirical validation of object-oriented metrics for predicting fault proneness models", Software Quality Journal, vol. 18, no. 1, pp. 3--35, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. L. Badri, M. Badri, and F. Toure, "Exploring empirically the relationship between lack of cohesion and testability in objectoriented systems", in Advances in Software Engineering, T.-h. Kim, H.-K. Kim, M. K. Khan et al., Eds., vol. 117 of Communications in Computer and Information Science, Springer, Berlin, Germany, 2010.Google ScholarGoogle Scholar
  7. Y. Singh and A. Saha, "Predicting testability of eclipse: a case study", Journal of Software Engineering, vol. 4, no. 2, 2010.Google ScholarGoogle Scholar
  8. L. Badri, M. Badri, and F. Toure, "An empirical analysis of lack of cohesion metrics for predicting testability of classes", International Journal of Software Engineering and Its Applications, vol. 5, no. 2, 2011.Google ScholarGoogle Scholar
  9. B. Baudry, B. Le Traon, and G. Sunyé, "Testability analysis of a UML class diagram", in Proceedings of the 9th International Software Metrics Symposium (METRICS '03), IEEE CS, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. B. Baudry, Y. Le Traon, G. Sunyé, and J.M. Jézéquel, "Measuring and improving design patterns testability", in Proceedings of the 9th International Software Metrics Symposium (METRICS '03), IEEE Computer Society, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Y. Le Traon, F. Ouabdesselam, and C. Robach, "Analyzing testability on data flow designs", in Proceedings of the 11th International Symposium on Software Reliability Engineering (ISSRE '00), pp. 162--173, October 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. B. Baudry, Y. Le Traon, and G. Sunyé, "Improving the testability of UML class diagrams", in Proceedings of the International Workshop on Testability Analysis (IWoTA '04), Rennes, France, 2004.Google ScholarGoogle ScholarCross RefCross Ref
  13. R. A. Khan and K. Mustafa, "Metric based testability model for object-oriented design (MTMOOD)", ACM SIGSOFT Software Engineering Notes, vol. 34, no. 2, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. M. Badri and F. Toure, "Empirical Analysis of Object?Oriented Design Metrics for Predicting Unit Testing Effort of Classes", Journal of Software Engineering and Applications (JSEA), Volume 5, Number 7, July 2012.Google ScholarGoogle Scholar
  15. Q. Yi, Z. Bo and Z. Xiaochum, "Early Estimate the Size of Test Suites from Use Cases", in Proceedings of the 15th Asia-Pacific Software Engineering Conference, IEEE Computer Society, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Érika R.C. de Almeida, Bruno T. de Abreu and Regina Moraes, "An Alternative Approach to Test Effort Estimation Based on Use Cases", in Proceedings of the International Conference on Software Testing, Verification and Validation, IEEE Computer Society, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. G. Karner, "Resource Estimation for Objectory Projects", 1993.Google ScholarGoogle Scholar
  18. P. Mohagheghi, B. Anda and R. Conradi, "Effort Estimation of Use Cases for Incremental Large-Scale Software Development", in Proceedings of the International Conference on Software Engineering, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. G. Robiolo and R. Orosco, "Employing use cases to early estimate effort with simpler metrics", in Innovations in Systems and Software Engineering, 4, 2008.Google ScholarGoogle Scholar
  20. G. Robiolo, C. Badano and R. Orosco, "Transactions and Paths: two use case based metrics which improve the early effort estimation", in Proceedings of the third International Symposium on Empirical Software Engineering and Measurement, IEEE Computer Society, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. C. Larman, "Applying UML and Design Patterns, An introduction to object-oriented analysis and design and the unified process", Prentice Hall, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. On the relationship between use cases and test suites size: an exploratory study

    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