Game of Life

This is a skeleton project to practice Test Driven Development in C++.

Prerequisite

  • CMake 3.9+
  • C++ toolchains, e.g.:
    • MS VC++
    • gcc
    • clang
  • (Optional) IDE / Editors, e.g.:
    • Visual Studio
    • CLion
    • XCode

Here is an example running under macOS with Make and Apple LLVM 8.1.0:

> cmake .
> make
> make test

CMake will check required environment and generate required build script.

Visual Studio 2017 and CLion also have built-in CMake support.

Testing framework

This skeleton using Catch as a unittest framework. You can see following links for details of usage and configuration: