Commit 6e0c8800 authored by Savorboard's avatar Savorboard

update build.cake for unit test adjustment

parent 7644344d
...@@ -55,9 +55,15 @@ Task("Test") ...@@ -55,9 +55,15 @@ Task("Test")
.IsDependentOn("Build") .IsDependentOn("Build")
.Does(() => .Does(() =>
{ {
var settings = new DotNetCoreTestSettings
{
Configuration = build.Configuration,
NoBuild = false
};
foreach (var testProject in build.TestProjectFiles) foreach (var testProject in build.TestProjectFiles)
{ {
DotNetCoreTest(testProject.FullPath); DotNetCoreTest(testProject.FullPath, settings);
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment