In my own copy of CUnit, I'm making modifications to print the suite/test
numbers as well as the names. I'm doing this to provide a kind of shorthand
to identify tests and call them on-demand from the command line.
Test: DFFDTCreate ... passed
Test: DFFDTParse1 ... passed
Test: DFFDTParse2 ... passed
Test: DFSDPCreateSession ... passed
Test: DFSDPCreateSession null pointer ... passed
Test: DFSDPParse sample 1 ... passed
Would now print something like this:
Suite 1: FDT
Test 1: DFFDTCreate ... passed
Test 2: DFFDTParse1 ... passed
Test 3: DFFDTParse2 ... passed
Suite 2: SDP
Test 1: DFSDPCreateSession ... passed
Test 2: DFSDPCreateSession null pointer ... passed
Test 3: DFSDPParse sample 1 ... passed
With this, I'll be adding a cli option to pass numbers for suite/test
combinations. For example "FDT.DFFTParse1" would be called as "1/2".
Does anyone have anything similar to this already? If not, would you be
interested in adding it to the utility permanently?
Get latest updates about Open Source Projects, Conferences and News.