Add test fixture.

This commit is contained in:
James Grogan 2022-11-29 18:00:19 +00:00
parent af6fad72eb
commit d6d4319e21
37 changed files with 421 additions and 279 deletions

View file

@ -1,5 +0,0 @@
int main(int argc, char** argv)
{
return 0;
}

View file

@ -1,11 +1,12 @@
#include "TemplatingEngine.h"
#include <File.h>
#include "TestFramework.h"
#include <filesystem>
#include <iostream>
int main()
TEST_CASE(TestTemplatingEngine, "compiler")
{
const auto data_loc = std::filesystem::path(__FILE__) / "../../data";
@ -15,4 +16,4 @@ int main()
File outfile("index.html");
outfile.WriteText(content);
}
}