Skip to content

Instantly share code, notes, and snippets.

@wellingtonjhn
Last active November 18, 2017 15:11
Show Gist options
  • Select an option

  • Save wellingtonjhn/f27bdcd4613287d6de037a3e792b41b8 to your computer and use it in GitHub Desktop.

Select an option

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
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