[Bf-committers] Unit testing frameworks

Timo Mihaljov bf-committers@blender.org
Fri, 6 Jun 2003 15:43:16 +0300

I'd like to write tests for the code I am writing, but as far as I know there is no unit testing in Blender at the moment.

Which unit testing framework should I use (if any) when writing tests for Blender's sources?

I have looked at some of the options and so far CuTest
(http://cutest.sourceforge.net), seems to be the most suitable for
use with Blender because it is
- very simple, consisting of only one .c and one .h file which
  both are small and easy to understand
- extremely portable
- quite recently updated

More information about unit testing in general can be found here:

Timo Mihaljov