开发者

xUnit testing framework for C

开发者 https://www.devze.com 2022-12-21 08:39 出处:网络
I\'m developing a fairly simple C project for an embedded device. I\'d like to employ xUnit testing. I\'ve se开发者_C百科ttled down with the Check framework (http://check.sourceforge.net/), but it see

I'm developing a fairly simple C project for an embedded device. I'd like to employ xUnit testing. I've se开发者_C百科ttled 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.


Cgreen supports mock functions, is this what you want?

https://cgreen-devs.github.io/#_what_are_mock_functions

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号