A State-Based Testing Approach Providing Data Flow Coverage in Object-Oriented Class Testing

[article]
Summary:

The object-oriented class testing approach, proposed in this paper, combines functional with structural testing techniques. Based on state-based testing, test cases generated from the MACT (Method for Automatic Class Testing) tool can be used to execute functional testing.

The object-oriented class testing approach, proposed in this paper, combines functional with structural testing techniques. Based on state-based testing, test cases generated from the MACT (Method for Automatic Class Testing) tool can be used to execute functional testing.

The definition-use information of data members, which occura in public member functions of a class under test, is generated from MACT to facilitate data flow analysis.

Testers can compute definition-use path with the information in order to ensure that the class is also satisfied with data flow coverage at intra-class level. The paper describes a queue class example to reveal that using a hybrid testing technique benefits class testing.

Click on the link below to download this paper>

About the author

CMCrossroads is a TechWell community.

Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.