OOT

One of today’s topic is object-oriented testing. OOT is a group of techniques to verify and validate object-oriented software.

Testing is one of the last steps of the software development cycle. Then, in each system it should be accurate to solve all the possible mistakes made.

This part is very important because you can see at any level of the system if it works as it should do.

When you have big systems always is a hard task to test all the parts. But there is a concept where you divide the system and analyze the components. This way is more retrievable because it guarantee that the part is good.

There are some techniques to evaluate the components of a system

Method Testing: Each individual method of the OO software has to be tested by the programmer.

Class Testing: Class testing is performed on the smallest testable unit in the encapsulated class. Each operation as part of a class hierarchy has to be tested because its class hierarchy defines its context of use.

Integration testing can be applied in three different incremental strategies:  Thread-based testing, which integrates classes required to respond to one input or event.  Use-based testing, which integrates classes required by one use case.  Cluster testing, which integrates classes required to demonstrate one collaboration.

System Testing: All rules and methods of traditional systems testing are also applicable to object-oriented systems.

Regression Testing: Regression testing is performed similar to traditional systems to make sure previous functionality still works after new functionality is added.


Vats, Prashant. (2002). Object Oriented Testing Techniques: Survey and Challenges. ,Int.J.Computer Technology & Applications. 3. 746.

In the majority of the cases inheritance, polymorphism and encapsulation are the areas where could be more problems.

If you are in the testing step be careful to analyse correctly the system to cover all the possible troubles.

References:

Vats, Prashant. (2002). Object Oriented Testing Techniques: Survey and Challenges. ,Int.J.Computer Technology & Applications. 3. 746.

https://www.researchgate.net/publication/276293817_Object_Oriented_Testing_Techniques_Survey_and_Challenges

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s