Skip to Content
C# and .NET Core Test-Driven Development
book

C# and .NET Core Test-Driven Development

by Ayobami Adewole
May 2018
Intermediate to advanced content levelIntermediate to advanced
300 pages
7h 35m
English
Packt Publishing
Content preview from C# and .NET Core Test-Driven Development

Using Cake tasks to build steps

Using Task Runner Explorer to run build tasks written in Cake scripts is easier and more convenient. This is usually done through Cake Extension for Visual Studio or by directly invoking the Cake bootstrapper file. However, there is an alternative that is more efficient, which is to run the Cake build script using the TeamCity CI tool.

The TeamCity build steps can be used to execute Cake scripts as part of the build steps execution processes. Let's create a build step that executes the Cake script for the LoanApplication project by following these steps:

  • Click on Add Build Step to open a New Build Step window.
  • In the Runner type, select PowerShell, since the Cake bootstrapper file will be invoked by PowerShell. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Design Patterns with C# and .NET Core

Hands-On Design Patterns with C# and .NET Core

Gaurav Aroraa, Jeffrey Chilberto
.NET Core in Action

.NET Core in Action

Dustin Metzgar

Publisher Resources

ISBN: 9781788292481Supplemental Content