Given When Then – How To

Expressing tests in a Given When Then style is the core practice of the Behavior Driven Development (BDD) methodology. Details about BDD can be found here. Writing tests in a GWT style can become tricky when there is no clear understanding / definition of what the actual test and preconditions are. As explained in Martin … Continue reading Given When Then – How To


Git for impatients

Clone a project: git clone Commit a change git commit -am “comment” Push (to remote) a change git push Retrieve changes for the current branch (it’s actually more but you’re impatient!) git pull –rebase Create a branch git branch branch_name Switch to a branch git checkout branch_name Switch and Branch in one go git … Continue reading Git for impatients