We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f595528 commit e12f3d1Copy full SHA for e12f3d1
Content/TestTasks.fs
@@ -23,7 +23,21 @@ let buildTests =
23
)
24
}
25
26
-#endif
+let runTests = BuildTask.create "RunTests" [clean; build] {
27
+ testProjects
28
+ |> Seq.iter (fun testProjectInfo ->
29
+ Fake.DotNet.DotNet.test
30
+ (fun testParams ->
31
+ { testParams with
32
+ Logger = Some "console;verbosity=detailed"
33
+ Configuration = DotNet.BuildConfiguration.fromString configuration
34
+ NoBuild = true
35
+ })
36
+ testProjectInfo.ProjFile)
37
+}
38
+
39
40
+#else
41
42
let runTests = BuildTask.create "RunTests" [clean; build] {
43
testProjects
@@ -37,4 +51,6 @@ let runTests = BuildTask.create "RunTests" [clean; build] {
51
52
) testProject
53
-}
54
55
56
+#endif
0 commit comments