Railsware Blog

on product management, engineering, design, culture and many more...

BDD-style testing in Swift with Sleipnir

BDD-style testing in Swift with Sleipnir

Introduction In Objective-C people use different frameworks to write BDD-style tests for their code. Some of them are: Cedar Kiwi Specta With the inroduction of Swift we’ve decided to create BDD-style testing framework in pure Swift. After a couple weeks of implementation we are making the first public version of …

Composing functions in Swift

Composing functions in Swift

In Swift – the new programming language introduced by Apple – functions are first class citizens. This basically means, that a function can be passed as a parameter, returned from another function or assigned to a value. It allows us to do a lot of useful stuff with them. Function …