Refactor C++ version of the Gilded Rose kata

* Make it possible to build and run tests in CLion
  and Visual Studio 2019 out of the box

* Provide four types of initial test using different test frameworks:
  * Catch2 test framework
    * Traditional unit testing using Catch2
    * Approval test using Catch2
  * Google Test test framework
    * Traditional unit testing using Google Test
    * Approval test using Google Test

* The different types of initial test are located in separate folders
  in the test folder.

* Remove scripts to build and run tests and replace
  with instructions in the cpp README.md

* Use C++17

* Use CMake => 3.13
This commit is contained in:
Jacob Mossberg committed 2019-12-09 08:40:47 +01:00
1 parent 16dd174765
commit 1836cca836
30 files changed
+20786 -287

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
#ifndef APPROVAL_TEST_1_APPROVALTESTS_HPP
#define APPROVAL_TEST_1_APPROVALTESTS_HPP
#include "ApprovalTests.v.6.0.0.hpp"
#endif
File diff suppressed because it is too large. Load diff
+3
View File
@@ -0,0 +1,3 @@
set(LIB_NAME lib)
add_library(${LIB_NAME} INTERFACE)
target_include_directories(${LIB_NAME} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
+17597
View File
File diff suppressed because it is too large. Load diff