Customizing TestApe

It is possible to modify the testape library in order to customize error messages, startup code and os dependencies.

The library is a collection of objects files and by replacing one or more of these, the behavior of testape can be changed. You need to compile our own versions of these and replace them in testape library.

If you choose to make a copy of the library, please notice that it is important that the library ends with testape.a, e.g. my_os_testape.a is ok, but testape_for_my_os.a is not ok. If the library name do not end with testape.a it will not trigger the testape instrumentation when used on commandline.

If the name is correct, the instrumenter will analyze and generate some instrumentation code, and as its final task, it will link this code (found in testape.o) with your tests and the testape library.

It will by default link with the standard c library, but if you're building a bare metal configuraton this is most likely not what you want. You can ask the testape instrumenter to skip the final link task by passing the option -nl.



The latest headlines from

TestApe Release 1171 available, Aug 20th 2014

It has been a long time since last official release and the list of bugfixes, features and supported platforms accumulating in the beta has grown substantially. I am happy to annouce that a new release is ready.


TestApe beta version available, Jul 21th 2014

New beta version is now available for download.


TestApe Release 880 available, Dec 3rd 2011

New is this release are support for floating point validations and function mocking. Also, MinGW has been added to the list of supported platforms.


Forum change, Mar 27th 2011

TestApe forum is now hosted on Proboards. Support questions can be posted here or send directly on email. Due to ...


TestApe beta release available, Sep 27th 2011

TestApe can now be used with MinGW GCC on windows. Also supported in this beta are floating point types in validations or when mocking functions


IPad update for WebTTY, May 15th 2011

A small fix for webtty scripts, to allow the usage from Apple IPads. Tab on textarea to bring up IPad keyboard - you may have to scroll webpage beneath keyboard, in order to actually see what you're typing.

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.