Skip to content

Commit 48018c1

Browse files
committed
Added info about cpputest-starter-project
1 parent 74f1d4b commit 48018c1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

index.markdown

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ CppUTest's core design principles are:
1515

1616
## Where to get CppUTest
1717

18+
### James Grenning's cpputest-starter-project
19+
20+
An easy way to get started adding tests to your code is by using James' [cpputest-starter-project](https://github.com/jwgrenning/cpputest-starter-project). You'll find CppUTest installation instructions along with your first test case, and some other example code. DO NOT INSTALL CppUTest using the "Pre-packaged" options described here. The starter kit uses `MakefileWorker.mk` (not supported pre-packeged) helping you get started without having to first learn `make`.
21+
22+
James' example is set up to have you put CppUTest into your own git repo (as a submodule) so in the years to come, you can recreate your exact unit test environment.
23+
24+
Adding tests to untested C and C++ can be a big challenge. You might find [TDD HOW-TO: Get your Legacy C into a Test Harness](https://wingman-sw.com/articles/tdd-legacy-c) a useful recipe and resource. The page includes links to numerous articles of real legacy C challenges.
25+
1826
### Pre-packaged
1927

2028
*Linux*

0 commit comments

Comments
 (0)