6140 package downloads in total from this page Download TestApe unit test package

Below you find links to current and older version of the testape unit test package. The package contains framework, documentation and instrumenter. You can choose between Windows and various Linux packages. Remember to read the terms of use. The latest official release is listed below. Latest beta release and older releases are also available.

April 2nd 2010, Release 791

  • Full mock support for function and library calls.
  • In this release all functions can be mocked. That includes functions that are internal to the unit or functions called in C library. Every test can supply its own individual mock. This will be in scope during that test only. Test suites can supply mocks that will remain in scope for the entire testsuite. The mock can validate the parameters and/or call the function it mocks.
  • Automatic default mocks for unresolved externals.
  • Mocking functions explicitly is possibility. As default the instrumenter will supply default mocks for all unresolved externals. Units with extensive use of external interfaces can have a test running immediately - no need to write dummy stub functions.
  • New macros ALLOW, ALLOW_SIMULATE and ALLOW_VALIDATE implemented.
  • These new macros allows you to pass control to a mock function. The scope of these macros defines when a mock is called and what happens after. When a mocked function is called, the framework can either return a specific value to the unit each time or invoke the supplied mock. The mock can choose to give back control to the mocked function. This is powerful as generic validation of parameters to functions - for example the format string and parameters of printf.
  • Other features
  • Fixed bugs
TestApe software package

Packages for Microsoft Windows Installer Zipped
 
Packages for Linux Debian Redhat Tarball
 
Documentation only pdf

If you miss support for a certain linker or operating system or if you want to report bugs or give ideas for improvements, please contact the author. You can call, use the forum, or write an email. Any feedback is very welcome - It is the feedback from TestApe users that will continue to make new development worth the effort.

Next release

Newest features and latest bugfixes can be found here. The changes are too small to jusitify a new release - instead these minor changes will accumulate here until a new release is made.

There are currently no beta release available. The following is currently planned for future releases
  • CUnit integration. TestApe as mocking framework for CUnit.
  • Separate mocking from validation. Mock related functionality has left the naming a bit confusing and inconsistent.
  • Examples in command reference section
  • Option to execute a single or a range of testcases from commandline based on testcase names.
  • In target tests. Write tests and develop embedded code on pc - verify on target.
You are also welcome to add proposals on the forum here.

Older releases

If you need the older releases you will find them in this section.

July 2008, release 556
june 2008, release 433
September 2007, release 408
October 2006, release 298

News

The latest headlines from Testape.com

TestApe Release 791 available, Apr 2nd 2010

This release contains a new flexible mocking system with default mocks automatically generated for unresolved functions. Installation packages are available for GCC/Linux, GCC/CygWin as well Visual Studio 2009/Windows XP or Vista.

more

TestApe beta version available, Jan 26th 2010

New beta version is now available for download. This is the last beta before official release. The release supports an extensive mocking system.

more

Forum change, Mar 10th 2009

There is a change for the forum hosted on this site. The previous phpBB forum is closed for now. All forum threads will be migrated to a new simple blog. ...

more

TestApe CygWIN support released, Jun 19th 2008

A minor update has been released in order to support GCC when running in a CygWIN environment.

more

TestApe first beta released, Aug 23th 2007

The major update this year has been released. It includes a reference manual and macros to support test parameters and improved usage of the automatic stub instrumentation.

more

Site improvements, Aug 23th 2007

The site has been updated. The webtty package has been tugged safely away in the corner and the TestApe ...

more