-
Notifications
You must be signed in to change notification settings - Fork 0
GlacierW/Triangle
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Software testing example with TDD problem: Triangle ##### # File annotation ##### 1. gtest_main.cc: main() entry point of google test 2. triangle.c: target function to be tested 3. triangle_unittest.cc: test cases with google testing framework ##### # Execute the specification-based testing ##### 1. make 2. ./gtest_triangle --gtest_filter=TriangleSpecTest.* ##### # Execute the code-based testing & generate coverage report ##### 1. ./gtest_triangle --gtest_filter=TriangleCodeTest.CodeCoverage/(C0 | C1 | C2 | MCDC)/ 2. gcov -b -c gtest_triangle.c 3. refer to the triangle.c.gcov for the detail report
About
Software Testing for TDD Triangle Problem
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published