Skip to content

GlacierW/NextDate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Software testing example with TDD problem: NextDate

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

#####
# Execute the testing
#####
1. make
2. ./gtest_nextdate --gtest_filter=NextDateSpecTest.*

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

About

Software Testing for TDD Nextdate Problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published