Browse Source

update build.cake for unit test adjustment

master
Savorboard 6 years ago
parent
commit
6e0c880035
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      build.cake

+ 7
- 1
build.cake View File

@@ -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);
} }
}); });




Loading…
Cancel
Save