Friday, 27 March 2015

My Favourite Testing Links

I am doing a little catch up on Unit Testing today with some of the North 51 gang. Our particular flavour of unit testing generally which goes a little something like this:


The session today is mainly a hands on session but I wanted to just keep a list of recommended links to look at afterwards and I thought it might be nice to share them with others too. The list isn't well researched and is pretty much a dump of the main things I use on a regular basis. Please comment to add more if you like!

There's lots of other arguments that go on around unit testing such as Mocks vs Stubs etc.. etc... For the record, I find I am using Moq less and less. I have a fairly manageable amount of dependencies that are effected when I run my acceptance tests. In most cases I just swap them out with actual fake objects so for an IReadModelRepository we have an SqlReadModelRepository and we swap that out for an InMemoryReadModelRepository. In my tests I like to properly assert that the correct things were passed into those fakes. For smaller less used dependencies or for real unit tests I do still use Moq. 



Friday, 13 March 2015

F# Azure Queue Storage

We had a dev meetup this lunchtime and the subject today was Azure. I wanted to show the teams some of the things I use most in Azure.

The areas we covered were:

  • Creating websites
  • Auto deploying websites using a publish file and directly from a git branch
  • Storage Queues
  • Storage Tables
  • Creating SQL Databases

All of these are so comically easy it's crazy. Unfortunately I wasn't able to use my Surface with our meeting room screen so I had to borrow a laptop. This meant that I couldn't show my neat F# Example on sending messages with Azure Queue Storage. It's a really neat and light weight messaging system with few bells and whistles.

The example also shows off the support for Discriminated Union types in Json.net now which is fantastic.

I've included the packages file so you can see the azure packages that you will need.

Tuesday, 10 March 2015

My Phone Timeline

We were talking yesterday about the phones we owned so I thought I would list my phone timeline. I have had some truly amazing phones and some fairly mediocre ones too!

My phone timeline (not including the approx 150 I have now from collecting old phones)


  • Motorola MR201 - I dispatched of this beast almost immediately, it could store 10 SMS and didn't like the phone number to the SMS
  • Ericsson PF768 - I spent hours creating ring tones on this phone. Such a little beauty. 
  • Siemens C25 - This was a brilliant phone, it had a wicked 3d maze game on it. 
  • Nokia 702 - An absolute classic! 
  • Nokia 7110 - I now have a giant box full of these, I used to love playing wap games on them and don't forget about tennis. 
  • Motorola Timeport 250 - This was the first phone that I had where I thought, this is the future, wow
  • Ericsson T68 - A cool phone but fairly poor in terms of usability. I never really loved it. 
  • Nokia NGage - A true obscenity but I had some amazing games on it (Elder Scrolls, Tony Hawks)
  • Orange SPV - The first Windows phone (in the UK at least)
  • Orange SPV C500 - I loved these SPVs, they did everything for me. 
  • Orange SPV C550 - I loved these SPVs, they did everything for me. 
  • Samsung U500 - This phone was so so thin and had an amazing camera. My only real dislike was the circular design of the menu navigator. I was also dissappointed moving from a smart phone back to something that had very few features.
  • Nokia N70 - Probably my favourite phone when I think about it. It had absolutely everything. 
  • Sony Ericsson c510 - A very close second to my favourite phone. At this time, I think the phone manufacturers had really cracked candy bar phones. Incredible!
  • HTC Hero - My first Android phone, a brilliant phone. When I look at it now it looks like a prop from Battlestar Galactica!
  • Samsung Galaxy S2 - Such a good phone. Wowzers
  • Nokia 1020 - My current phone, I really like it. The camera is far and away the best I have ever seen on a phone. My only gripe is that so few things are compatible with Windows phone which is a real pity as the OS is fairly pleasant. 

Comments System

Disqus Shortname