From f3fb675b1f50b336b331e4ce03f0278d07347852 Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Sat, 30 Oct 2021 10:39:43 -0400 Subject: [PATCH] WIP on test projects --- .gitignore | 3 ++ src/Htmx.Tests/Giraffe.Htmx.Tests.fsproj | 28 +++++++++++++++++++ src/Htmx.Tests/Program.fs | 1 + src/Htmx.Tests/Tests.fs | 8 ++++++ .../Giraffe.ViewEngine.Htmx.Tests.fsproj | 28 +++++++++++++++++++ src/ViewEngine.Htmx.Tests/Program.fs | 1 + src/ViewEngine.Htmx.Tests/Tests.fs | 8 ++++++ 7 files changed, 77 insertions(+) create mode 100644 src/Htmx.Tests/Giraffe.Htmx.Tests.fsproj create mode 100644 src/Htmx.Tests/Program.fs create mode 100644 src/Htmx.Tests/Tests.fs create mode 100644 src/ViewEngine.Htmx.Tests/Giraffe.ViewEngine.Htmx.Tests.fsproj create mode 100644 src/ViewEngine.Htmx.Tests/Program.fs create mode 100644 src/ViewEngine.Htmx.Tests/Tests.fs diff --git a/.gitignore b/.gitignore index f181d71..8462afe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ **/bin **/obj + +.fake +.ionide \ No newline at end of file diff --git a/src/Htmx.Tests/Giraffe.Htmx.Tests.fsproj b/src/Htmx.Tests/Giraffe.Htmx.Tests.fsproj new file mode 100644 index 0000000..768b74c --- /dev/null +++ b/src/Htmx.Tests/Giraffe.Htmx.Tests.fsproj @@ -0,0 +1,28 @@ + + + + net6.0 + + false + false + + + + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + diff --git a/src/Htmx.Tests/Program.fs b/src/Htmx.Tests/Program.fs new file mode 100644 index 0000000..fdc31cd --- /dev/null +++ b/src/Htmx.Tests/Program.fs @@ -0,0 +1 @@ +module Program = let [] main _ = 0 diff --git a/src/Htmx.Tests/Tests.fs b/src/Htmx.Tests/Tests.fs new file mode 100644 index 0000000..b908e37 --- /dev/null +++ b/src/Htmx.Tests/Tests.fs @@ -0,0 +1,8 @@ +module Tests + +open System +open Xunit + +[] +let ``My test`` () = + Assert.True(true) diff --git a/src/ViewEngine.Htmx.Tests/Giraffe.ViewEngine.Htmx.Tests.fsproj b/src/ViewEngine.Htmx.Tests/Giraffe.ViewEngine.Htmx.Tests.fsproj new file mode 100644 index 0000000..768b74c --- /dev/null +++ b/src/ViewEngine.Htmx.Tests/Giraffe.ViewEngine.Htmx.Tests.fsproj @@ -0,0 +1,28 @@ + + + + net6.0 + + false + false + + + + + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + diff --git a/src/ViewEngine.Htmx.Tests/Program.fs b/src/ViewEngine.Htmx.Tests/Program.fs new file mode 100644 index 0000000..fdc31cd --- /dev/null +++ b/src/ViewEngine.Htmx.Tests/Program.fs @@ -0,0 +1 @@ +module Program = let [] main _ = 0 diff --git a/src/ViewEngine.Htmx.Tests/Tests.fs b/src/ViewEngine.Htmx.Tests/Tests.fs new file mode 100644 index 0000000..b908e37 --- /dev/null +++ b/src/ViewEngine.Htmx.Tests/Tests.fs @@ -0,0 +1,8 @@ +module Tests + +open System +open Xunit + +[] +let ``My test`` () = + Assert.True(true)