Skip to content

Commit 9125b6b

Browse files
committed
use dotnet test
1 parent 4b106fd commit 9125b6b

File tree

1 file changed

+69
-67
lines changed

1 file changed

+69
-67
lines changed

tests/service/project.json

Lines changed: 69 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,77 @@
11
{
2-
"version": "1.0.0-*",
3-
"buildOptions": {
4-
"debugType": "portable",
5-
"emitEntryPoint": true,
6-
"compilerName": "fsc",
7-
"compile": {
8-
"includeFiles": [
9-
"ReshapedReflection.fs",
10-
"FsUnit.fs",
11-
"Common.fs",
12-
"EditorTests.fs",
13-
"ExprTests.fs",
14-
"TokenizerTests.fs",
15-
"PerfTests.fs",
16-
"InteractiveCheckerTests.fs",
17-
"ProjectAnalysisTests.fs",
18-
"Program.fs"
2+
"version": "1.0.0-*",
3+
"buildOptions": {
4+
"debugType": "portable",
5+
"compilerName": "fsc",
6+
"compile": {
7+
"includeFiles": [
8+
"ReshapedReflection.fs",
9+
"FsUnit.fs",
10+
"Common.fs",
11+
"EditorTests.fs",
12+
"ExprTests.fs",
13+
"TokenizerTests.fs",
14+
"PerfTests.fs",
15+
"InteractiveCheckerTests.fs",
16+
"ProjectAnalysisTests.fs"
17+
],
18+
"exclude": "data/**",
19+
"excludeFiles": [
20+
"FscTests.fs",
21+
"ProjectOptionsTests.fs",
22+
"FileSystemTests.fs",
23+
"FsiTests.fs",
24+
"MultiProjectAnalysisTests.fs",
25+
"CSharpProjectAnalysis.fs"
26+
]
27+
},
28+
"define": [
29+
"DOTNETCORE",
30+
"FX_ATLEAST_45",
31+
"FX_ATLEAST_PORTABLE",
32+
"FX_NO_RUNTIMEENVIRONMENT",
33+
"FX_RESHAPED_REFLECTION",
34+
"TODO_REWORK_ASSEMBLY_LOAD",
35+
"TRACE"
1936
],
20-
"exclude": "data/**",
21-
"excludeFiles": [
22-
"FscTests.fs",
23-
"ProjectOptionsTests.fs",
24-
"FileSystemTests.fs",
25-
"FsiTests.fs",
26-
"MultiProjectAnalysisTests.fs",
27-
"CSharpProjectAnalysis.fs"
37+
"nowarn": [
38+
"44"
39+
],
40+
"xmlDoc": true,
41+
"delaySign": true,
42+
"warningsAsErrors": true,
43+
"additionalArguments": [
44+
"--fullpaths",
45+
"--flaterrors"
2846
]
2947
},
30-
"define": [
31-
"DOTNETCORE",
32-
"FX_ATLEAST_45",
33-
"FX_ATLEAST_PORTABLE",
34-
"FX_NO_RUNTIMEENVIRONMENT",
35-
"FX_RESHAPED_REFLECTION",
36-
"TODO_REWORK_ASSEMBLY_LOAD",
37-
"TRACE"
38-
],
39-
"nowarn": [
40-
"44"
41-
],
42-
"xmlDoc": true,
43-
"delaySign": true,
44-
"warningsAsErrors": true,
45-
"additionalArguments": [
46-
"--fullpaths",
47-
"--flaterrors"
48-
]
49-
},
50-
"dependencies": {
51-
"Microsoft.NETCore.App": {
52-
"type": "platform",
53-
"version": "1.0.0"
48+
49+
"dependencies": {
50+
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-*",
51+
"NUnit": "3.4.1",
52+
"dotnet-test-nunit": "3.4.0-beta-1",
53+
"FSharp.Compiler.Service": { "target": "project" }
5454
},
55-
"NUnitLite": "3.4.0",
56-
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-*",
57-
"FSharp.Compiler.Service": {
58-
"target": "project"
55+
56+
"testRunner": "nunit",
57+
58+
"frameworks": {
59+
"netcoreapp1.0": {
60+
"imports": "portable-net45+win8",
61+
"dependencies": {
62+
"Microsoft.NETCore.App": {
63+
"version": "1.0.0-*",
64+
"type": "platform"
65+
}
66+
}
67+
}
5968
},
60-
"FSharp.Compiler.Service.ProjectCracker": {
61-
"target": "project"
62-
}
63-
},
64-
"tools": {
65-
"dotnet-compile-fsc": {
66-
"version": "1.0.0-preview2-*",
67-
"imports": "dnxcore50"
68-
}
69-
},
70-
"frameworks": {
71-
"netcoreapp1.0": {
72-
"imports": "dnxcore50"
69+
70+
"tools": {
71+
"dotnet-compile-fsc": {
72+
"version": "1.0.0-preview2-*",
73+
"imports": "dnxcore50"
74+
}
7375
}
74-
}
76+
7577
}

0 commit comments

Comments
 (0)