首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 在C项目cmockery单元测试一个敏捷的图书馆。

在C项目cmockery单元测试一个敏捷的图书馆。

资 源 简 介

Project name: agile-ut Summary: An agile library in unit testing with cmockery for c project. Description: Agile library aim to provide a fast and easy unit testing environment with cmockery or other similar ut framework for c project. The main function is: 1.rt_stub(runtime stub): It"s used to dynamic stub any function in runtme. After stubed, a mock function will be invoked instead of the original one. 2.rt_refer(runtime refer): It"s used to dynamic refer any static function with function pointer in runtime. After referred, the function pointer will point to the function wherever it"s defined. Path: agile-ut/library/lib_agile File: * t_stub.h * t_stub.c * t_refer.h * t_refer.c * t_debug.h OS: win32win64linux make: you can directly make the project in cygwin. Or you can use run.sh in shell. run.sh: auto complie, run, and make coverage report. Notice: if you want to make full use of run.sh, you had better to install lcov to make coverage

文 件 列 表

agile-ut-v1.0
.svn
autotest.exe
autotest.sym_tbl
autotest.sym_tmp
cases
library
makefile
product
readme.txt
report
rules.mk
run.sh
souce

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP