Part 2: What exactly is a Unit Test?

Over the past ten to twenty years of software development, programmers worldwide have mostly recognised that the best way to design software is by using “Objects”. Java is an excellent example of this and its popularity speaks for itself.

Whether you call them “objects” or “packages”, they are all basically program “units” and are simply an encapsulation of some code which has attributes and methods (or procedures in Oracle terms).

So now that our code is neatly packaged up in our “unit” it becomes easy to test it.

A unit test is basically a program unit that “partners” the main unit of code. (A bit like your wife asking you if you’ve cut the grass. You do the work and your wife checks that you’ve done it properly!)

On to Part 3[/szb]

Download API Generator

download
Click here to download the API Generator and you're on your way to coding heaven!


UT PLSQL

download
Click here to downloadUTPLSQL

Bookmark us with your smartphone!

Bookmark us with your smartphone!

Sponsors


Donate

Why Donate to Oracle Unit Testing? Well, all of the software on this site is given away for free and can considerable increase your productivity on your Oracle projects. Any donation is greatly appreciated. Thank you.


Oracle Unit Testing (7)

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.