资 源 简 介
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