mardi 5 mai 2015

Swift Unit Testing IBAction

I have a VC - 1 text field, button, label.

I put something in the text field, press a button, the string is now capitalized in the label. Simple.

How do I set up the IBAction in Swift for unit tests?

If there is no way to test the action in Swift, what else can I do to test this?

Aucun commentaire:

Enregistrer un commentaire