Testing with javascript
I don’t know about you, but I found the transition from .NET and ruby over to JavaScript rather painful. There’s quite a few quirks along the way, but one of the hardest ones for me is the asyncronous nature of the code. Martin Fowler has put up a great post that explains all this in… Read More Testing with javascript
Shopping Cart Kata
Writing code is much like playing music, or roller derby. When you go into work, it’s like a concert or a bout. Can you imagine what a concert would be like if none of the musicians practiced? Or the carnage at a game if none of the skaters trained? Yet the majority of developers do… Read More Shopping Cart Kata
Using PhantomJS to TDD QUnit
These are instructions for Ubuntu. It’s going to be pretty much the same for other operating systems, just need to get the phantomjs executable, instructions will be on their website. We use quinit for this, here is a handy guide: http://qunitjs.com/intro/ Install phantomjs NOTE: you may have to fix an issue with the environment variables, where… Read More Using PhantomJS to TDD QUnit
Pastures new
It’s that time again… new job! I’ve just completed my first few weeks at Allegro Networks Ltd. I absolutely love it. We’re a network carrier with big ideas. They’ve taken on myself and two other amazing developers (I can’t actually think of anyone better to work with) @bdwflowers (Young Ben – enthusiastic and raring to… Read More Pastures new
Testing the Untestable in .NET without a mocking framework
When trying to test code that uses the MVC framework and it’s libraries that do not have interfaces, the best way I’ve come across is something I was show during my time at Esendex by @aplea. Put a wrapper round it! If you create a new object, which has an interface, and passes in your… Read More Testing the Untestable in .NET without a mocking framework
Why cancellation of @BritRuby made me a #sadpanda
Something truly sad happened this weekend. Brit Ruby was cancelled: http://2013.britruby.com/ The Ruby community has been battling with issues of race and gender equality. We at Brit Ruby were well aware of this fundamental and important issue. This was one of the reasons why we encouraged everyone to submit a speaker proposal. Sadly, Brit Ruby… Read More Why cancellation of @BritRuby made me a #sadpanda
Shut up and write a test!
Inspired by a “Shut up and skate” diagram, I made a “Shut up and Write a Test Diagram”. Due to popular demand on the twitters I’ve posted it up here for all to enjoy! SHUT UP AND TEST
Busy busy busy
I’ve not blogged for a while as I’ve been so busy with Hack Manchester, which is now all sold out! It’s gone from 100 people in a hotel to over 200 in the Museum of Science and Industry and part of the Manchester Science Festival. We still have some tickets for the awards ceremony and… Read More Busy busy busy
Software Craftsmanship 2 – Pair Programming for Interviews
The morning session I chose was run by the event sponsor 7Digital and of special interest to me a it’s something we practise at LateRooms and have recently been evolving. Resources from the session: interview guide: http://bit.ly/interview-guide katas: http://bit.ly/even-fib http://bit.ly/checkout-kata Firstly we were gathered into groups of 3 and asked to each take the role… Read More Software Craftsmanship 2 – Pair Programming for Interviews