How to write a testing framework

The task for this week was to build a Javascript front-end single page app framework. Ok, that doesn’t sound too bad. Here’s the catch – we weren’t allowed to use any existing JS libraries. No Node, Express, jQuery, Jasmine, Mocha…. nothing! Eeek!

Before we could even get started on the app, we needed to work out how we were going test our code. TDD is one the pillars of the Makers education after all. Despite using a string of testing libraries over the last few weeks, RSpec, Capybara, Jasmine, Mocha, Chai, I’ve never actually taken the time to look at the code and figure out how it works. So this is my attempt at breaking down a very elementary testing framework.

Read More »

Project week: AirBnBird

Week 6 arrived at Makers and finally we started working in groups! I’ve enjoyed pairing, but now that we’ve learnt just enough to take on all aspects of web development, working in groups feels so much more efficient. I had a lot of fun this week and was fortunate to be grouped with great coders, who I knew I would enjoy working with.

The Brief

We were set with the challenge to build ‘Makers BnB’, an Airbnb clone, and we were free to use whatever technology we wanted. We had two choices really – Rails or Node.js. Airbnb is actually built on Rails. It’s suited to it. So why did we end up choosing Node?

Read More »