forked from picklesdoc/pickles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.fsx
More file actions
31 lines (25 loc) · 900 Bytes
/
test.fsx
File metadata and controls
31 lines (25 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// include Fake lib
#r @"packages\FAKE\tools\FakeLib.dll"
open Fake
open Fake.Testing
// Properties
let testDir = "./test/"
Target "Test" (fun _ ->
!! (testDir + "PicklesDoc.Pickles.Test.dll")
|> NUnit3 (fun p ->
{p with
ShadowCopy = false;
OutputDir = testDir + "PicklesDoc.Pickles.Test.TestResults.xml";
ToolPath = "packages/NUnit.ConsoleRunner/tools/nunit3-console.exe" })
)
Target "Test.TestFrameworks" (fun _ ->
!! (testDir + "PicklesDoc.Pickles.TestFrameworks.UnitTests.dll")
|> NUnit3 (fun p ->
{p with
ShadowCopy = false;
OutputDir = testDir + "PicklesDoc.Pickles.TestFrameworks.UnitTests.TestResults.xml";
ToolPath = "packages/NUnit.ConsoleRunner/tools/nunit3-console.exe" })
)
"Test" ==> "Test.TestFrameworks"
// start build
RunTargetOrDefault "Test.TestFrameworks"