Guillem Fernandez

About my job and my passion.

BDD - Mastermind : View Preparation to Make the UI Testable

This is the fourth post to create an application using BDD and TDD in iOS. If you missed the previous post, my recommendation is that you read it first here.

If you thought we were going to jump straight to BDD I’m afraid you’ll have to wait a little more. To understand it, first of all I’m going to explain which is the framework I decided to use to BDD and how does it work. With all that info you’ll understand why we need to prepare the things to be able to BDD.

You can find the code corresponding to this post in this commit. Go and get it!

BDD - Mastermind : TDD in the Model

This is the third post to create an application using BDD and TDD in iOS. If you missed the previous post, my recommendation is that you read it first here.

It’s time to get your hands dirty. To make it really easy I’ve decided to tag each relevant commit with step numbers so you can follow step by step the process. I recommend you to code your own version, but if at some point you are lost, just checkout the step where you got lost and we’ll be synchronized again.

First thing to do is create your project and have it ready to run. You can create a new project or checkout this commit or just checkout from terminal by :

1
2
3
git clone git@github.com:guillemf/Mastermind-BDD.git
git tag -l
git checkout tags/Step_1.

BDD - Mastermind : Internal Design

This is the second post to create an application using BDD and TDD in iOS. If you missed the first post, my recommendation is that you read it first here.

In this post we are going to walk through the process of designing how we are going to architecture it internally and start writing down the first specifications that later on will become tests. I decided to structure it the way a “non technical” person would describe what she wants and then move it to the world of Unit Testing and Acceptance Tests.