Our latest and perhaps last build (Version 3.4.15) prior to release has been complemented with optional plugins to wide-spread tools in order to facilitate unit testing especially for a larger group of developers familiar with and attached to those tools:
These options have been added for extra convenience rather than out of necessity primarily because we believe that systematic unit testing, test automation and test-driven development are so important.
Why unit testing?
Unit testing helps you verify and validate your source code to see (and measure) whether (to what extent) its components suit their designed purposes and behave as expected. The idea is to isolate each part of a program and show that the individual components are well-formed right from the outset. Unit tests minutely state the “contract specifications” of a piece of code as to what it is supposed to satisfy and thus afford several benefits:
- Find problems early in the development cycle
- Ensure that code reflects intended functions in spite of changes
- Test parts first to facilitate integration testing
- Document critical code unit by unit
- Prevent performance from deteriorating.
Unit testing for performance and bug trapping
For bug trapping create a test that replicates the bug, and then redesign your code accordingly. By adding the fix to your test suite you can ensure that the test case will always be checked throughout the entire development lifecycle. For continued performance assurance you can use the SpeedTrace API in order to trace the executed scenarios and to perform sanity checks making standard assumptions that the elapsed times are within bounds of the desired performance.

Unit testing in test automation enviroment for optimized lifecycle management
and QA-internalized development
Why test automation (TA)?
Unit testing within the SpeeedTrace Pro Test Auotmation (TA) environment is performed systematically in “zipper”-fashion parallel to the development process repeatedly unit by unit at short intervals (See diagram). It thus becomes an integral part of the TA and lends itself appreciably to optimizing lifecycle management and proactively internalizing QA into your entire development process.
Unit testing with SpeedTrace Pro
Of course, you can do all this with SpeedTrace Pro using a much wider array of features, functions and triggers. Nevertheless, we wanted users accustomed to these wide-spread unit testing tools to also benefit from SpeedTrace Pro’s more comprehensive approach to software diagnostics.