Last active
November 18, 2017 15:11
-
-
Save wellingtonjhn/f27bdcd4613287d6de037a3e792b41b8 to your computer and use it in GitHub Desktop.
Task do Cake para execução de Testes de Unidade em projetos .Net Core
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Task("Test") | |
| .IsDependentOn("Build") | |
| .Does(() => | |
| { | |
| foreach(var project in GetFiles("./tests/**/*.csproj")) | |
| { | |
| DotNetCoreTest( | |
| project.GetDirectory().FullPath, | |
| new DotNetCoreTestSettings() | |
| { | |
| Configuration = configuration | |
| }); | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment