LDRA tool suite

 

LDRA tool suite components

 
 

Standard Adherence

 
 
 
Register
 
Unit Testing with TBrun™
 

What is Unit Testing?

Unit testing may be defined as a process of verification and validation of an individual module or ‘unit’ of software. In its simplest form a unit may be a single function or method that has been isolated from the main body of application code. The analysis of this unit, in isolation, is normally achieved by means of the developers writing additional driver modules or test harnesses, which ‘manage’ the necessary unit inputs and outputs.

The major strength of unit testing is that it enables developers to apply analysis techniques much earlier in the development lifecycle than might otherwise be achieved. Studies, however, have indicated that unit testing is under-utilised by up to 90% of software developers because traditional techniques are labour-intensive, expensive, dependent on expert knowledge and are therefore unattractive to developers and testers alike.

This aside, it is generally acknowledged that it is much more cost effective to identify and resolve software errors in the early stages of the development cycle, and hence the application of source code analysis techniques at the unit level will yield significant long-term cost benefits.



What is TBrun?

In response to the issues outlined above, LDRA has developed TBrun. TBrun utilises the powerful Static and Dynamic Analysis facilities of the LDRA tool suite to provide a sophisticated, fully automated, unit test solution. TBrun automatically generates test harnesses for the unit under test and, in so doing, saves time, frees up highly qualified staff, increases test efficiency and improves motivation to test through a repeatable, less error-prone process.

As TBrun is fully integrated with LDRA Testbed it enables the application of a wide range of Static and Dynamic Analysis techniques at a variety of levels. The code being analysed, the ‘unit’, therefore may be a single function, a set of functions, a source file, a sub-system or even a complete system. This powerful feature allows TBrun to be used for unit, module, sub-system and integration testing.

Studies have shown that, compared to manual techniques, testing efficiency in the unit code and test arena can be improved by as much as 76% using TBrun.

TBrun can be fully utilised in a number of different areas. For more detailed information please view the detailed TBrun information page.

 

 

 

 
     
HomeAbout UsProductsServicesDownloadsMedia CentreContact Us