Skip to content

Commit 47128fb

Browse files
authored
Merge pull request #45 from jwgrenning/master
Formatting and error on VS title.
2 parents 107952b + d6deede commit 47128fb

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

index.markdown

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

1616
## Setting up CppUTest
1717

18-
There are several ways to setup CppUTest. One is to install via package management and the other is from source. The big difference is that from source you can use `MakefileWorker.mk`. MakefileWorker is not supported pre-packaged. MakefileWorker does not require you to know a lot about `make` and makefiles to get started.
18+
There are several ways to setup CppUTest. One is to install via package management and the other is from source. The big difference is that from source you can use **MakefileWorker.mk**. MakefileWorker is not supported pre-packaged. MakefileWorker does not require you to know a lot about **make** and makefiles to get started.
1919

2020
An easy way to get your first test case running is to use James Grenning's [cpputest-starter-project for gcc](https://github.com/jwgrenning/cpputest-starter-project) or [cpputest-starter-project for Visual Studio](https://github.com/jwgrenning/cpputest-starter-project-vs). James is the author of [Test-Driven Development for Embedded C](https://wingman-sw.com/tddec). You'll find instructions, your first test case, and some other example code. James' training resources use MakefileWorker, so you need to install from source.
2121

@@ -75,13 +75,13 @@ $ ../configure
7575
$ make
7676
{% endhighlight %}
7777

78-
**NOTE**: Building from `cpputest_build` means you will not be able to use `MakefileWorker.mk`. To use MakefileWorker you need to build from the cpputest home directory.
78+
**NOTE**: Building from **cpputest_build** means you will not be able to use **MakefileWorker.mk**. To use MakefileWorker you need to build from the cpputest home directory.
7979

80-
### Using CppUTest with `MakefileWorker.mk` and gcc
80+
### Using CppUTest with MakefileWorker.mk and gcc
8181

82-
If you want to use CppUTest's `MakefileWorker.mk`, you cannot currently get CppUTest using the "Pre-packaged" options described above. Instead you can get CppUTest from source using the options already described.
82+
If you want to use CppUTest's MakefileWorker, you cannot currently get CppUTest using the "Pre-packaged" options described above. Instead you can get CppUTest from source using the options already described.
8383

84-
Change to the top level directory of CppUTest (the directory containing `include/` and `src/` among other files)
84+
Change to the top level directory of CppUTest (the directory containing **include/** and **src/** among other files)
8585

8686
{% highlight bash %}
8787
$ cd cpputest \
@@ -91,22 +91,22 @@ $ make tdd
9191
$ export CPPUTEST_HOME=$(pwd).
9292
{% endhighlight %}
9393

94-
You will want to add `export CPPUTEST_HOME=<path>` somewhere like `.bashrc` or in your build script as a relative path.
94+
You will want to add **export CPPUTEST_HOME=<path>** somewhere like **.bashrc** or in your build script as a relative path.
9595

96-
### Using CppUTest with `MakefileWorker.mk` and Visual Studio
96+
### Using CppUTest with Visual Studio
9797

9898
You can build CppUTest using cmake or in the Visual Studio IDE.
9999

100100
*from Visual Studio IDE*
101101

102102
Depending on your VS version double click either
103103

104-
* `CppUTest_VS201x.sln` - for VS 2010 and later
105-
* `CppUTest.sln` - for pre VS 2010
104+
* **CppUTest_VS201x.sln** - for VS 2010 and later
105+
* **CppUTest.sln** - for pre VS 2010
106106

107107
Say yes to suggested conversions. Select the menu item corresponding to run without debugging. CppUTest should build (probably with warnings). When the build completes the test runner runs. You should see over 1000 tests passing and no test failures. The build also produced a static library (cpputest/lib) holding CppUTest you can link your tests to.
108108

109-
To use CppUTest, define an environment variable `CPPUTEST_HOME` that points to the home directory of CppUTest. You will find a working example and some more help in [cpputest-starter-project for Visual Studio](https://github.com/jwgrenning/cpputest-starter-project-vs).
109+
To use CppUTest, define an environment variable **CPPUTEST_HOME** that points to the home directory of CppUTest. You will find a working example and some more help in [cpputest-starter-project for Visual Studio](https://github.com/jwgrenning/cpputest-starter-project-vs).
110110

111111
## How to create a coverage report
112112

0 commit comments

Comments
 (0)