mokacoding

unit and acceptance testing, automation, productivity

Posts tagged "TDD"

Red, green, and don't forget refactor

Test driven development works at its best when you refactor as you go. Write the failing test, write just enough code to make it pass, then and only then focus on making that code good.

If you're not writing tests first you're missing out

A look at the benefits of writing unit tests before production code, in other words TDD.

Enhancing XCTest test cases with Nimble matchers

Nimble is a matchers framework built for Swift that provides powerful and versatile expectations. Writing test within the standard XCTest harness but using Nimble assertions is easier and productive, and a good combination of tools to introduce testing and TDD to colleagues and teams in a frictionless way.