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.

To help getting started with TestApe, the installation packages now includes working examples from documentaton. These are also available in a live installation (hosted by WebTTY) here

The major new features are

  • 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 quickly - no need to write dummy stub functions
  • New macros ALLOW, ALLOW_SIMULATE and ALLOW_VALIDATE implemented. These new macros allow to pass control to a mock, regardless of the time it is called. The mock can either return a specific value each time or invoke the supplied function. Can be used to validate parameters to functions when as they are called - for example the format string of printf before printf is actually called

The release is tested with GCC in Linux (debian lenny) and in Windows XP, Vista with GCC/Cygwin, Visual Studio Express 2009 and Visual Studio Enterprise 2009.

More detailed information, documentation and release note can be found on download page

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.

  • New macros ALLOW_xxxx to mock functions and validate parameters for every function call made during test.
  • Support new versions of cl/link in Microsoft Visual Studio C++ 2008.
  • All functions (also C library functions used by the framework) can now be mocked.
  • Full mock support for function and library calls. Automatic default mocks for unresolved externals.

More information about this beta release can be found on download page

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. There are too many spammers taking advantage of a known framework and keeping the forum free of spam was too much work. For now, it is possible to submit simple messages using the new blog instead.

TestApe CygWIN support released, Jun 19th 2008

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

The windows .zip and .msi packages have been updated so that they also include the testape framework compiled for gcc/ld in CygWIN. They now contain both testape.lib for MS Visual Studio CL/LINK and testape.a for CygWIN gcc/ld. There is still only one instrumenter, since there is no need for a special CygWIN instrumenter - the same executable used for MS Visual Studio CL/LINK will also work with gcc/ld in CygWIN.

TestApe instrumenter will now correctly handle compile options that manipulates the usage of leading underscores in symbol names.

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.

Only one line of test code is needed to validate that a function call is called and to simulate its return value. Together with the on-the-fly stub generation it means that the first test can be running within minutes, even on very complex units with many interfaces.

Another major improvement is that tests and stubs can be parameterized. Test parameters can be sent from the tests to the framework, to nested tests, or to stubs. This gives the test writers the possibility to parameterize the functionality in an existing test/stub or to provide values that the framework will use with the generated stubs.

In this release the framework supports, that the same test can be executed automatically with a list of test parameters, e.g. interesting values or ranges such as [0-255], [-128-127], [NULL, "", "xx"] or [true, false]. This provides a very methodic way to increase coverage.

This release also contains first version of the TestApe reference manual. The reference manual gives an in-depth explanation of all the TestApe macros as well as a chapter on how to do memory and coverage analysis.

Site improvements, Aug 23th 2007

The site has been updated. The webtty package has been tugged safely away in the corner and the TestApe unit test framework, that is ment to be the ruler of this site has been emphasized. The layout has changed - the colors are gone and the table based html has ben replaced with a floating three coloumn CSS style layout.

Webtty adminstration page , Nov 15th 2006

Release 0.2 has been created. The delete key problem has been solved in a reasonable efficient way and some minor problems with Firefox has been resolved. Also the javascript code has been completely rewritten in OO.

Multiple instances can now be run on the same page - but ..... Persistent connections are the bread and butter of webtty and since there is a limit in IE and FireFox on how many of these can be open at a time, you will experience slow responding terminals if you have more than one object active at a time. More about these limitations in this excellent article here

In addition a new administration interface has been added. All the traffic in all the virtual terminal will accumulate on the administration page. You will be able to follow what is going on live. You can resize, scroll or close the terminals.

Please spread the word - The administration page is going to look really cool, if there is a lot of activity ongoing.

Webtty, First day, Oct 27th 2006

Thank you for the great interest in this project - During these inital days, at no time there were less than 10 terminals active at the same time and I have had 100 visitors pr. hour, so I am struggling to keep up.

I'll setup a real blogging system soon - in the meantime just mail me your comments at martin@testape.com and I'll add the content manually to this blog.

Also, if you have any ideas on how the javascript should implement delete key, please let me know. It is really annoying, but the problem is not as simple as it appears.

TestApe initial release, Oct 27th 2006

First beta release now ready. Still lots of ideas to implement, but basic functionality is present and working. The instrumenter is working in windows, also from within visual studio. Basic documentation is there.

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