Skip to content

GlacierW/Commission

Repository files navigation

Software testing example with TDD problem: Commission

#####
# File annotation
#####
1. gtest_main.cc:         main() entry point of google test
2. commission.c:          target function to be tested
3. commission_unittest.c: test cases with google testing framework

#####
# Execute the testing
#####
1. make
2. ./gtest_commission --gtest_filter=CommissionSpecTest.*

#####
# Generate coverage report
#####
1. ./gtest_commission --gtest_filter=CommissionCodeTest.CodeCoverage/(C0 | C1 | C2 | MCDC)/
2. gcov -b -c gtest_commission.c
3. refer to the commission.c.gcov for the detail report 

About

Software Testing for TDD CommisionProblem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published