[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/1138929.1138940acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Coupling-based class integration and test order

Published: 23 May 2006 Publication History

Abstract

During component-based and object-oriented software development, software classes exhibit relationships that complicate integration, including method calls, inheritance, and aggregation. When classes are integrated and tested, an order of integration must be established. The difficulty arises when cyclic dependencies exist - the functionality that is used by the first class to be tested must be mimicked by creating "stubs" (sometimes called "mocks"), an expensive and error-prone operation. This problem is generally called the class integration and test order (CITO) problem, and solutions must be fully automated for integration and testing to proceed smoothly and efficiently. This paper describes new techniques and algorithms to solve the CITO problem. New results include improved edge weights that are derived from quantitative coupling measures to more precisely model the cost of stubbing, and the use of weights on nodes, allowing more information to be used. Also, a new algorithm for computing the integration and test orders is presented. The technique is compared with an existing approach with positive results.

References

[1]
B. Beizer. Software Testing Techniques. Van Nostrand Reinhold, Inc, New York NY, 2nd edition, 1990. ISBN 0-442-20672-0.
[2]
L. Briand, J. Feng, and Y. Labiche. Using genetic algorithms and coupling measures to devise optimal integration test orders. In Proceedings of the 14th International Conference on Software Engineering and Knowledge Engineering, pages 43--50, Ischia, Italy, 2002. IEEE Computer Society Press.
[3]
L. Briand, Y. Labiche, and Y. Wang. Revisiting strategies for ordering class integration testing in the presence of dependency cycles. Technical report SCE-01-02, Careleton University, 2001.
[4]
L. C. Briand, Y. Labiche, and Y. Wang. An investigation of graph-based class integration test order strategies. IEEE Transactions on Software Engineering, 29(7):594--607, July 2003.
[5]
M. J. Harrold and J. D. McGregor. Incremental testing of object-oriented class structures. In 14th International Conference on Software Engineering, pages 68--80, Melbourne, Australia, May 1992. IEEE Computer Society Press.
[6]
D. Kung, J. Gao, P. Hsia, Y. Toyoshima, and C. Chen. A test strategy for object-oriented programs. In 19th Computer Software and Applications Conference (COMPSAC 95), pages 239 --244, Dallas, TX, August 1995. IEEE Computer Society Press.
[7]
B. A. Malloy, P. J. Clarke, and E. L. Lloyd. A parameterized cost model to order classes for class-based testing of C++ applications. In Proceedings of the 14th International Symposium on Software Reliability Engineering (ISSRE'03), pages 353--364, Denver, Colorado, 2003. IEEE Computer Society Press.
[8]
K.-C. Tai and F. Daniels. Test order for inter-class integration testing of object-oriented software. In The Twenty-First Annual International Computer Software and Applications Conference (COMPSAC '97), pages 602--607, Santa Barbara CA, 1997. IEEE Computer Society.
[9]
Y. L. Traon, T. Jéron, J.-M. Jézéquel, and P. Morel. Efficient object-oriented integration and regression testing. IEEE Transactions on Reliability, pages 12--25, March 2000.

Cited By

View all
  • (2023)A class integration test order generation approach based on Sarsa algorithmAutomated Software Engineering10.1007/s10515-023-00406-931:1Online publication date: 13-Dec-2023
  • (2022)Devising optimal integration test orders using cost–benefit analysis基于成本收益分析的集成测试序列生成优化方法Frontiers of Information Technology & Electronic Engineering10.1631/FITEE.210046623:5(692-714)Online publication date: 25-May-2022
  • (2022)Generating Optimal Class Integration Test Orders Using Genetic AlgorithmsInternational Journal of Software Engineering and Knowledge Engineering10.1142/S021819402250030932:06(871-892)Online publication date: 11-Jun-2022
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
AST '06: Proceedings of the 2006 international workshop on Automation of software test
May 2006
128 pages
ISBN:1595934081
DOI:10.1145/1138929
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 23 May 2006

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. OO testing
  2. class integration and test order
  3. coupling

Qualifiers

  • Article

Conference

ICSE06
Sponsor:

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 13 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2023)A class integration test order generation approach based on Sarsa algorithmAutomated Software Engineering10.1007/s10515-023-00406-931:1Online publication date: 13-Dec-2023
  • (2022)Devising optimal integration test orders using cost–benefit analysis基于成本收益分析的集成测试序列生成优化方法Frontiers of Information Technology & Electronic Engineering10.1631/FITEE.210046623:5(692-714)Online publication date: 25-May-2022
  • (2022)Generating Optimal Class Integration Test Orders Using Genetic AlgorithmsInternational Journal of Software Engineering and Knowledge Engineering10.1142/S021819402250030932:06(871-892)Online publication date: 11-Jun-2022
  • (2021)An Integration Test Order Strategy to Consider Control CouplingIEEE Transactions on Software Engineering10.1109/TSE.2019.292196547:7(1350-1367)Online publication date: 1-Jul-2021
  • (2019)An integration test coverage metric for Java programsInternational Journal of System Assurance Engineering and Management10.1007/s13198-019-00787-9Online publication date: 15-Jun-2019
  • (2018)Proposal for A Structural Integration Test Coverage Metric for Object-Oriented ProgramsACM SIGSOFT Software Engineering Notes10.1145/3178315.317833043:1(1-4)Online publication date: 28-Mar-2018
  • (2018)Identifying Class Integration Test Order Using an Improved Genetic Algorithm-Based ApproachSoftware Technologies10.1007/978-3-319-93641-3_8(163-187)Online publication date: 8-Jun-2018
  • (2017)The impact of Quality Indicators on the rating of Multi-objective Evolutionary AlgorithmsApplied Soft Computing10.1016/j.asoc.2017.01.03855:C(265-275)Online publication date: 1-Jun-2017
  • (2016)Feature-Based Test Focus Selection Technique Using Classes Connections WeightInternational Journal of Operations Research and Information Systems10.4018/IJORIS.20160101037:1(33-44)Online publication date: 1-Jan-2016
  • (2014)A Coupling-Based Approach for Class Integration and Test OrderProceedings of the 2014 Asia-Pacific Services Computing Conference10.1109/APSCC.2014.39(35-41)Online publication date: 4-Dec-2014
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media