mercredi 30 septembre 2015

How to unit test throwing functions in Swift?

How to test wether a function in Swift 2.0 throws or not? How to assert that the correct ErrorType is thrown?

Aucun commentaire:

Enregistrer un commentaire