lundi 15 janvier 2018

How do I test the development of a Swift module while it is being written?

Rather than writing unit tests, is it possible to import the Swift module to another project/script and test it?

The reason why I am asking this currently I've two options to test a Swift module while writing it - write unit tests, or keep importing it into a separate Project which involves a lot of work (build thelibrary, export, add it to the project, etc)

What would be the best way to go about it?

Edit: The reason why I am not using unit tests is to just play around and get the structure of the Swift module right before writing tests for them. I am still rather new to Swift. So, do tell me if my thinking is going wrong somewhere.

Aucun commentaire:

Enregistrer un commentaire