How do we get test case line/function coverage in ceedling?
MinaKaramTWV opened this issue · comments
Hello Folks,
I am using
Ceedling:: 0.31.1
Unity:: 2.5.4
CMock:: 2.5.4
CException:: 1.3.3
How do we get test case line/function coverage in ceedling? I got results with all test cases together per tester; I want to get per test case. Is this supported?
I tried to edit my project.yml to set
:test_runner:
:cmdline_args: true
calling ceedling gcov:gpio --test_case=test_case_1 utils:gcov
I got this error when linking
C:/Strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: build/gcov/out/test_gpio.o: in function
main':
D:\testing\ceedling_test\ceedling_platform/build/test/runners/test_gpio.c:96: undefined reference to UnityParseOptions' collect2.exe: error: ld returned 1 exit status ERROR: Shell command failed.