WIP on test projects
This commit is contained in:
parent
c7cee2996b
commit
f3fb675b1f
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,2 +1,5 @@
|
|||
**/bin
|
||||
**/obj
|
||||
|
||||
.fake
|
||||
.ionide
|
28
src/Htmx.Tests/Giraffe.Htmx.Tests.fsproj
Normal file
28
src/Htmx.Tests/Giraffe.Htmx.Tests.fsproj
Normal file
|
@ -0,0 +1,28 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
|
||||
<IsPackable>false</IsPackable>
|
||||
<GenerateProgramFile>false</GenerateProgramFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="Tests.fs" />
|
||||
<Compile Include="Program.fs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="coverlet.collector" Version="3.1.0">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
1
src/Htmx.Tests/Program.fs
Normal file
1
src/Htmx.Tests/Program.fs
Normal file
|
@ -0,0 +1 @@
|
|||
module Program = let [<EntryPoint>] main _ = 0
|
8
src/Htmx.Tests/Tests.fs
Normal file
8
src/Htmx.Tests/Tests.fs
Normal file
|
@ -0,0 +1,8 @@
|
|||
module Tests
|
||||
|
||||
open System
|
||||
open Xunit
|
||||
|
||||
[<Fact>]
|
||||
let ``My test`` () =
|
||||
Assert.True(true)
|
|
@ -0,0 +1,28 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
|
||||
<IsPackable>false</IsPackable>
|
||||
<GenerateProgramFile>false</GenerateProgramFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="Tests.fs" />
|
||||
<Compile Include="Program.fs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="coverlet.collector" Version="3.1.0">
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
1
src/ViewEngine.Htmx.Tests/Program.fs
Normal file
1
src/ViewEngine.Htmx.Tests/Program.fs
Normal file
|
@ -0,0 +1 @@
|
|||
module Program = let [<EntryPoint>] main _ = 0
|
8
src/ViewEngine.Htmx.Tests/Tests.fs
Normal file
8
src/ViewEngine.Htmx.Tests/Tests.fs
Normal file
|
@ -0,0 +1,8 @@
|
|||
module Tests
|
||||
|
||||
open System
|
||||
open Xunit
|
||||
|
||||
[<Fact>]
|
||||
let ``My test`` () =
|
||||
Assert.True(true)
|
Loading…
Reference in New Issue
Block a user