Software automates unit testing of source code.

Press Release Summary:



Utilizing LDRA Testbed static analysis capabilities within automated unit test solution, stand-alone TBrun® frees developers from manual checking to verify and validate each individual module or unit of software. Solution extracts unit interface details and presentes variables as framework for generating test case. Test sequences can be performed on single functions, methods, or classes; module tests across number of files or classes; and integration testing across whole systems.



Original Press Release:



LDRA Releases TBrun® as Stand-Alone Unit Test Tool



Automated unit test covers all code-development, test, legacy, and large systems

Boston, MA, 26 October, 2008 - LDRA®, the leading provider of automated software verification, source code analysis, and test tools, now offers rigorous automated unit testing of source code in a stand-alone TBrun unit test tool release. TBrun automates the test process, freeing developers from hours of intense manual checking to verify and validate each individual module or unit of software. With the stand-alone version of TBrun, LDRA delivers a more cost-effective solution by making use of all the powerful static analysis capabilities of LDRA Testbed within TBrun's fully automated unit test solution.

TBrun offers a high degree of automation making use of the comprehensive control and data flow analysis with the LDRA tool suite. TBrun extracts details about the unit interface including parameters, template arguments, input and output globals, input and output members and return values. These variables are then presented to the user as a framework for generating a test case for the unit. Test sequences can be performed on single functions, methods or classes. Module tests may be performed across a number of files or classes, and integration testing may be performed across whole systems. Thanks to automated test driver and harness generation, no manual scripting is required. TBrun can perform tests on executables and other targets such as libraries and dlls.

Working in host, target and simulator environments, TBrun facilitates execution of tests. TBrun stores and maintains test data and results for fully automated regression analysis, as well as providing tool-driven test vector generation. All source code changes are automatically detected and documented, as well as documenting pass/fail and regression analysis reports. For DO-178B object code verification is offered.

Object code verification offers a direct way to relate code coverage at the source code level with that achieved at the object code level.

"LDRA remains committed to providing developers with cost-effective solutions," noted Ian Hennell, LDRA Operations Director: "Studies indicate up to ninety percent of developers under use unit testing, even though early identification of errors saves a tremendous amount of overall development cost. By combining the static analysis capabilities within TBrun and providing a way to easily test new code, legacy code and large applications, we are removing the cost barriers that keep companies from producing zero-defect software."

TBrun enables genuine and full automatic creation of the driver and test harness program. The generated driver handles all language features and offers:
o Stub creation for functions, methods, constructors, system calls, etc.
o Exposure of structures, arrays and unions
o Detection of class hierarchy
o Resolution of templated types
o Automated exception handling
o Detection of pointers and capture of values for testing

In addition, TBrun automatically handles a number of specific language features for C++ such as access to private and protected data, testing of abstract classes and pure virtual methods, ability to test base class methods with a derived class object, template parameters and member templates, vtable verification, test case inheritance from testing the base class, template specialisation and partial specialisation.

Ada language specific features include access to private and package variables, in, out and in out parameters, records, variant parts and generics.

For code generated by UML tools such as Telelogic Rhapsody® and IBM® Rational® Rose®, TBrun is able to utilize the native build system for building tests. In addition TBrun offers support for the generation of events.

For eXtreme testing which ensures that most source code behaviour can be quickly and easily exercised simultaneously recording high levels of code coverage, LDRA has developed the TBeXtreme plug-in.

TBeXtreme provides users with the ability to rapidly and automatically create test cases from within TBrun and automates the unit/module/integration testing processes, including test harness and test vector production. This extended test environment automatically exercises test boundaries, switch statements and the full range of hard to test C/C++ and Ada 83/95 data constructs such as templates and virtual methods, as well as mechanisms including multithreading and dynamic dispatch.

Shipping and Availability
TBrun and TBeXtreme are available for Windows and Unix/Linux and are priced at $10,000 per seat while the TBeXtreme plug-in may be purchased for $2,000.

About the LDRA tool suite
The LDRA tool suite has been derived from many ground-breaking testing techniques developed by LDRA. The LDRA tool suite assists with the eight primary tasks: traceability verification, design, code and quality review, unit testing, target testing, test verification and test management. Focus on all of these key areas is required to achieve an organization's software development and maintenance goals. The LDRA tool suite can be used by an entire project team, including developers, QA managers, test engineers, project managers and maintenance/support engineers, to automate the software development lifecycle. Through the deployment of the LDRA tool suite, companies are able to deliver well constructed, documented and tested software and benefit from significant time, cost and operational savings. For more information on the LDRA tool suite, please visit: www.ldra.com.

About LDRA
For more than thirty years LDRA has developed and driven the market for software used for the automation of code analysis and software testing of safety critical applications. The LDRA tool suite is used in the aerospace, space and defense technology industries as well as the nuclear energy and automotive industries. Through the use of the LDRA tool suite companies ensure that their systems are built in accordance to prescribed standards and are durable and reliable in use. The LDRA tool suite is available for a multiplicity of programming languages and supports a wide range of host and target platforms. LDRA is represented world-wide with its head office in the UK and subsidiaries in the USA as well as through an extensive distributor network. For more information on the LDRA tool suite, please visit: www.ldra.com.

Please send reader enquiries to:
Mark James
LDRA, Portside, Monks Ferry, Wirral, CH41 5LH, UK
Email: mark.james@ldra.com

All Topics