Generating the Premier League Table in F#

Generating the Premier League Table in F#

During lockdown, I’ve made another effort at learning F#. This time I think I’ve had a bit more success. Processing data is something that we as developers do on a weekly or even daily basis, so it seems quite natural...

Test Driven Development: Implementing Freecell - Part 3

Test Driven Development: Implementing Freecell - Part 3

Introduction In the last post we were left with some tests that exercised some very basic functionality of the Deck class. In this post, we will continue to add unit tests and write production code to make those tests pass,...

Test Driven Development: Implementing Freecell - Part 2

Test Driven Development: Implementing Freecell - Part 2

Introduction In the previous post in this series, we had finished up with a very basic unit test, which didn’t really test much, which we had ran using dotnet xunit in a console, and saw some lovely output.

Test Driven Development: Implementing Freecell

Test Driven Development: Implementing Freecell

Introduction I thought Freecell would make a fine basis for talking about Test Driven Development. It is a game which I enjoy playing. I have an app for it on my phone, and it’s been available on Windows for as...

Setting up a TDD environment in dotnet core

Setting up a TDD environment in dotnet core

Introduction In a future post, I’m going to write about Test Driven Development, with the aim of writing a Freecell clone. In this post I’ll walk through setting up a dotnet core solution with a class library which will hold...