#include "TemplatingEngine.h" #include "File.h" #include "TestFramework.h" #include #include TEST_CASE(TestTemplatingEngine, "compiler") { const auto data_loc = std::filesystem::path(__FILE__) / "../../data"; auto engine = TemplatingEngine(data_loc); engine.loadTemplateFiles(); const auto content = engine.processTemplate("index"); File outfile("index.html"); outfile.WriteText(content); }