Skip to content

Commit 869a8f6

Browse files
author
Jamil Maqdis Anton
committed
Add test entry point
1 parent 0718b88 commit 869a8f6

File tree

4 files changed

+28
-44
lines changed

4 files changed

+28
-44
lines changed

tests/Main.fs

Lines changed: 0 additions & 6 deletions
This file was deleted.

tests/Program.fs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Learn more about F# at http://fsharp.org
2+
3+
open Expecto
4+
5+
[<EntryPoint>]
6+
let main args =
7+
runTestsInAssemblyWithCLIArgs [] args

tests/Sample.fs

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
6-
<GenerateProgramFile>false</GenerateProgramFile>
7-
</PropertyGroup>
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>netcoreapp3.1</TargetFramework>
6+
<GenerateProgramFile>false</GenerateProgramFile>
7+
</PropertyGroup>
88

9-
<ItemGroup>
10-
<Compile Include="Sample.fs" />
11-
<Compile Include="Main.fs" />
12-
</ItemGroup>
9+
<ItemGroup>
10+
<Compile Include="ExpectoExtra.fs" />
11+
<Compile Include="AppendTests.fs" />
12+
<Compile Include="Program.fs" />
13+
</ItemGroup>
1314

14-
<ItemGroup>
15-
<PackageReference Include="Expecto" Version="9.*" />
16-
<PackageReference Include="YoloDev.Expecto.TestSdk" Version="0.*" />
17-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.*" />
18-
<PackageReference Update="FSharp.Core" Version="4.*" />
19-
</ItemGroup>
15+
<ItemGroup>
16+
<PackageReference Include="Expecto" Version="9.*" />
17+
<PackageReference Include="SqlStreamStore" Version="1.2.1-alpha.3" />
18+
<PackageReference Include="YoloDev.Expecto.TestSdk" Version="0.*" />
19+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.*" />
20+
<PackageReference Update="FSharp.Core" Version="4.*" />
21+
</ItemGroup>
22+
23+
<ItemGroup>
24+
<ProjectReference Include="..\src\SqlStreamStore.FSharp.fsproj" />
25+
</ItemGroup>
2026
</Project>

0 commit comments

Comments
 (0)