I'm trying to make a Unit Testing project using the Catch framework, but am faced with Link errors.
I've set up the project as follows:
#include <catch.hpp>
to stdafx.hunittest.cpp:
#include "stdafx.h"
namespace Catch2_Test
{
TEST_CASE("Y U no work")
{
REQUIRE(1);
}
}
The problem was that I had cloned Catch2 from the master branch, while the VS integration worked on a branch off Catch.