Nowadays it is essential to be able to deploy to production in a reasonably short amount of time and in an automated manner. In this post, I want to summarize my experience with creating deployment pipelines and I will try to provide as many details as possible, despite the broad topic. I will focus on two concrete tools I have used in the past years – TeamCity and Octopus Deploy, which have helped me create automated deployment pipelines.Continue Reading…
ASP.NET MVC has become more and more popular. In my previous post I gave you my vision about it and what it introduced to ASP.NET developers. One of the advantages of the MVC pattern is the better testability. You can easily test every controller without dealing with the View itself.
Test-Driven Development (TDD)
Principles of TDD are really simple. The entire TDD process is described on the following scheme:
Many developers are using TestDriven.net as a test runner. I have also tried it – it’s great! However, it is free only for personal usage. For professional usage, you need to buy a licence. There are many alternatives to running tests. My favorite test framework is NUnit. For running NUnit tests, one may use its GUI tool.
Recently I came accross a new GUI tool for running NUnit tests. It’s (suprisingly :)) called Visual NUnit. It is integrated in Visual Studio and provides many features like:
- Easy and fast NUnit test execution
- Easy test debugging
- NET 2.0, 3.0, 3.5 and 4.0 support
- Test execution progress, time and summary
- Stack trace view
- Test filtering based on project, namespace and fixture