Add test fixture.
This commit is contained in:
parent
af6fad72eb
commit
d6d4319e21
37 changed files with 421 additions and 279 deletions
|
@ -1,5 +0,0 @@
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
return 0;
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue