Nothing Special   »   [go: up one dir, main page]

skip to main content
10.5555/832256.832943guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Self-Testable Components: From Pragmatic Tests to Design-for-Testability Methodology

Published: 07 June 1999 Publication History

Abstract

Testing is a key aspect of software development, because of its cost and impact on final product reliability. Classical views on testing and their associated testing models, based on the waterfall model, are not well-suited to an OO development process. The standardization of semi-formal modeling methods, such as UML, reveals this trend: testing can no longer be separated from specification/design/code stages. A test approach integrated with the OO process must be defined with an associated testing philosophy.The approach presented in this paper aims at providing a consistent framework for building trust into components. By measuring the quality of test cases, we seek to build trust in a component passing those test cases. We present a pragmatic approach for linking design and test of classes, seen as basic unit test components. Components are self-testable by enhancing them with embedded test sequences and test oracles. Self-testable components serve as building blocks for performing systematic integration and non-regression testing. The main contribution presented in this paper consists of using component self-tests to systematically exercise main system structural dependencies.This approach has been implemented in the Eiffel, Java, Perl and C++ languages. Since it is simpler, due to the direct support for Design-by-ContractTM in the language, the Eiffel implementation is detailed here.

Cited By

View all
  • (2014)Deployment and activation of faulty components at runtime for testing self-recovery mechanismsACM SIGAPP Applied Computing Review10.1145/2670967.267097114:3(44-54)Online publication date: 22-Sep-2014
  • (2014)A fault deployment and activation approach for testing self-recovery mechanismsProceedings of the 29th Annual ACM Symposium on Applied Computing10.1145/2554850.2554981(1114-1119)Online publication date: 24-Mar-2014
  • (2010)Evaluation of online testing for servicesProceedings of the 2nd International Workshop on Principles of Engineering Service-Oriented Systems10.1145/1808885.1808893(36-42)Online publication date: 1-May-2010
  • Show More Cited By
  1. Self-Testable Components: From Pragmatic Tests to Design-for-Testability Methodology

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image Guide Proceedings
    TOOLS '99: Proceedings of the Technology of Object-Oriented Languages and Systems
    June 1999
    ISBN:076950275X

    Publisher

    IEEE Computer Society

    United States

    Publication History

    Published: 07 June 1999

    Author Tags

    1. design by contract
    2. design-for-testability
    3. reusable components
    4. self-test
    5. testing

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 20 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2014)Deployment and activation of faulty components at runtime for testing self-recovery mechanismsACM SIGAPP Applied Computing Review10.1145/2670967.267097114:3(44-54)Online publication date: 22-Sep-2014
    • (2014)A fault deployment and activation approach for testing self-recovery mechanismsProceedings of the 29th Annual ACM Symposium on Applied Computing10.1145/2554850.2554981(1114-1119)Online publication date: 24-Mar-2014
    • (2010)Evaluation of online testing for servicesProceedings of the 2nd International Workshop on Principles of Engineering Service-Oriented Systems10.1145/1808885.1808893(36-42)Online publication date: 1-May-2010
    • (2007)A self-testing autonomic containerProceedings of the 45th annual ACM Southeast Conference10.1145/1233341.1233343(1-6)Online publication date: 23-Mar-2007
    • (2000)Building Trust into OO Components Using a Genetic AnalogyProceedings of the 11th International Symposium on Software Reliability Engineering10.5555/851024.856211Online publication date: 8-Oct-2000
    • (1999)Efficient Strategies for Integration and Regression Testing of OO SystemsProceedings of the 10th International Symposium on Software Reliability Engineering10.5555/851020.856188Online publication date: 1-Nov-1999

    View Options

    View options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media