Purchase Solution

Structural Unit Testing and Object Oriented Unit Testing

Not what you're looking for?

Ask Custom Question

What is the essential difference between structural software unit testing and OO software unit testing?

I need around 700-850 words with original thoughts with Harvard referencing please.

Purchase this Solution

Solution Summary

This solution explains in brief the differences between structural software unit testing methodology and object oriented software unit testing.

Solution Preview

Solution:

To understand the differences it is necessary to understand the differences between the types of programming. Structural software can be thought of as reasonably linear in nature, although it is possible to branch back to something earlier in the code. This makes it easy to see what the inputs would be and what the expected outputs should be. In the case of a subroutine the same idea applies.

Object Orientated Programming is different in that it uses objects that have very different characteristics to structural software.

"Testing of object-oriented software is fundamentally different from the testing of non-object-oriented software. This is due primarily to such factors as:

Information hiding: Objects are "black boxes." Specifically, although one can effect a change of state in an object, one cannot directly view this state change, i.e., all knowledge of an object's state is provided via a well-defined interface.

Encapsulation: Objects encapsulate such things as state information, exceptions, and operations. This has a definite impact on our traditional notions of "integration testing."

Inheritance: Objects may acquire (inherit) characteristics from other objects. Features ...

Purchase this Solution


Free BrainMass Quizzes
Javscript Basics

Quiz on basics of javascript programming language.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.