Unit Testing Overview
All the modules or units within an application
need to be reliable and operate correctly. If not,
the application will not function correctly or it
may behave unexpectedly. It is difficult and inefficient
to verify that each unit operates correctly by testing
the entire application.
It is much easier and faster for developers to
verify that each unit is reliable and operates correctly
when it is built. Unit testing allows applications
to be tested before they are completed. Also, unit
testing does not require the large test bed needed
for application-level testing. By starting testing
at the unit level, developers will reduce the time,
effort and resources spent finding errors. They
will also detect errors that application-level testing
can miss.
Parasofts unit-testing solutions can automatically
test a partial or entire application. Unit-level
testing provides snapshots of how well the code
is constructed. To verify each units reliability,
Parasoft solutions automatically generate test cases
that verify if the unit is able to respond appropriately
to all possible conditions and to exercise as many
paths as possible. Unit-level functional testing
involves verifying that each unit is implemented
according to specification. To verify each units
functionality, Parasoft provides a graphical test
case and object editor to easily add user-defined
functional test cases to the automatically-generated
test cases.
The unit-testing solutions are available for Java,
C/C++ and .NET environments. To ensure that future
enhancements do not break previously-verified unit
functionality, Parasoft provides an automated regression
testing process that monitors code modifications,
then updates and refactors the functional unit test
suite as needed.
|