tags:

views:

88

answers:

1

Hi all!

I'm developing a fairly simple C project for an embedded device. I'd like to employ xUnit testing. I've settled down with the Check framework (http://check.sourceforge.net/), but it seems it doesn't support function stubs. I remember using a very syntactically similar framework a few years ago that supported stubs, but i can't remember its name.

So, can anyone suggest an xUnit framework for C that supports stubs? A way to imitate stubs while using Check library would be OK, too.

+1  A: 

Cgreen supports mock functions, is this what you want?

http://www.lastcraft.com/mock_callbacks.php

Masse
I guess this solution is the closest to what i need... Albeit not exactly :)
Roman D