-### 4.3 Unit tests
+### 4.3 Unit Tests
The code for the unit tests is in `
/unitTests`. To include unit tests in the build, use the *cmake* option `-DEXIV2_BUILD_UNIT_TESTS=On`.
@@ -996,23 +1014,23 @@ $ popd
[TOC](#TOC)
-### 4.4 Bugfix tests
+### 4.4 Bugfix Tests
You can run the bugfix tests from the build directory:
```bash
$ cd /build
-$ ctest -R bugfixes
+$ ctest -R bugfix
```
If you wish to run in verbose mode:
```bash
$ cd /build
-$ $ ctest -R bugfixes --verbose
+$ $ ctest -R bugfix --verbose
```
-The bugfix tests are stored in the directory tests and you can run them all with the command:
+The bugfix tests are stored in directory tests/ and you can run them all with the command:
```bash
$ cd /tests
@@ -1031,7 +1049,7 @@ You may wish to get a brief summary of failures with commands such as:
```bash
$ cd /build
-$ ctest -R bugfixes --verbose 2>&1 | grep FAIL
+$ ctest -R bugfix --verbose 2>&1 | grep FAIL
```
[TOC](#TOC)
@@ -1310,5 +1328,5 @@ $ sudo pkg install developer/gcc-7
[TOC](#TOC)
-Written by Robin Mills
robin@clanmills.com
Updated: 2021-12-19
+Written by Robin Mills
robin@clanmills.com
Updated: 2021-12-20
diff --git a/unitTests/CMakeLists.txt b/unitTests/CMakeLists.txt
index 8e22ab95..f67f6122 100644
--- a/unitTests/CMakeLists.txt
+++ b/unitTests/CMakeLists.txt
@@ -51,4 +51,4 @@ if (MSVC)
set_target_properties(unit_tests PROPERTIES LINK_FLAGS "/ignore:4099")
endif()
-add_test(NAME unit_tests COMMAND unit_tests)
+add_test(NAME unitTests COMMAND unit_tests)