Showing all posts tagged: 'Testing'

A 5-post collection

Introduction to Azure Functions Deployment Slots

Deployment slots have been an invaluable feature for Azure Web Apps for a long time. To find out how to create slots for Azure Web Apps, you can visit the official documentation here. So what makes deployment slots so useful? I summarize some of the benefits below but this is by no means the exhaustive list: Testing in Production - A/B Testing Hot deployments that allow deployment to production with no downtime UAT testing targeting a near live environment Easy roll out and roll back Full or incremental swapping DevOps integration with slots (VSTS deployment directly to slot) many …[read more]

Unit testing with .NET Core

.NET Core has been in production (RTM) since June 2016, when it was officially released at the Red Had Summit by Scott Hanselman. What a glorious moment! Announcing an open source framework at a conference for Linux! Who would have thought that this would be possible 3 years ago? .NET Core may be in RTM but it's still moving at a very fast pace and there are still a lot of changes to the framework. The team announced ago .NET Standard 2.0 which comes with a few breaking changes. On top of that the tooling around .NET Core is …[read more]

TDD - The larger issues

Test Driven Development (TDD) is a programming methodology that has seen a great deal of success but has also caused an equally great deal of friction in the development community. In a previous article, I described the common mistakes that developers tend to do when practising TDD. Today, I will be talking about the set of wider problems surrounding TDD. This post is written at the back of the infamous "Is TDD dead" discussion series between David Heinemeier Hansson (DHH), Martin Fawler and Kent Beck and is based on a talk I recently delivered at SwanseaCon, Wales. The issues I …[read more]

Common mistakes in TDD

The post below is an excerpt from the talk I recently delivered at SwanseaCon (Wales). This is part 1 of a series of TDD posts I'm planning on writing. The main focus of the series is to highlight common issues in Test Driven Development (TDD) and analyse the bigger problems surrounding the use of TDD. First I'll give a brief definition of TDD and then mention some of the biggest benefits of using TDD in your development process. Finally, I'll try to highlight some of the usual pitfalls developers tend make. A TDD definition Some of us already practice TDD …[read more]

Azure Web Apps - Testing in production

I use Azure Web Apps (formerly Websites) a lot. I run a few production sites, I run test sites and proof of concept projects. The whole process of publishing to Azure has become so easy and so FREE, that I have all but eliminated all other options. You can manage your sites from the portal(GUI), FTP, PowerShell, Visual Studio, Command Line, you name it. Everything can be scripted and everything can be automated so what's not to love about the platform? One important aspect of working with clients on new products or new features is testing. Testing in QA …[read more]