loganwright / Genome

A simple, type safe, failure driven mapping library for serializing JSON to models in Swift 3.0 (Supports Linux)
MIT License
762 stars 58 forks source link

Making tests crash safe #94

Closed timvermeulen closed 4 years ago

timvermeulen commented 7 years ago

Replaces a lot of force unwraps by optional unwraps and throwing errors. Also replaces most instances of XCTAssert by more specific assertion functions.