Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Fix test task 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed May 16, 2023
1 parent a1dff67 commit 335b961
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/ProjectInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let project = "Nfdi4Plants.Fornax"
let testProjects =
[
// add relative paths (from project root) to your testprojects here
@"tests\Nfdi4Plants.Fornax.Tests\Nfdi4Plants.Fornax.Tests.fsproj"
@"tests/Nfdi4Plants.Fornax.Tests"
]

let solutionFile = $"{project}.sln"
Expand Down
1 change: 0 additions & 1 deletion build/TestTasks.fs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ let runTests = BuildTask.create "RunTests" [clean; build] {
testParams with
Logger = Some "console;verbosity=detailed"
Configuration = DotNet.BuildConfiguration.fromString configuration
NoBuild = true
}
) testProject
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<!--<GenerateProgramFile>false</GenerateProgramFile>-->
<TargetFramework>net5.0</TargetFramework>
<GenerateProgramFile>false</GenerateProgramFile>
</PropertyGroup>
<ItemGroup />
<ItemGroup>
Expand All @@ -24,7 +24,7 @@
<Compile Include="nfdi-code.tests.fs" />
<Compile Include="nfdi-header.tests.fs" />
<Compile Include="nfdi-sidebar-element-header.tests.fs" />
<Compile Include="main.fs" />
<Compile Include="Program.fs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Nfdi4Plants.Fornax\Nfdi4Plants.Fornax.fsproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ let allTests = testList "Main" [
nfdi_sidebar_eleneo.main
]

[<EntryPoint>]
let main argv =
runTestsWithCLIArgs [] [||] allTests

0 comments on commit 335b961

Please sign in to comment.