iOS - how to write unit tests for Muse app?


#1

This is a bit of a general question, but what is a good approach for unit testing an app with a wearable like Muse, using iOS/Xcode? I assume that it would require some sort of test harness to create dummy data, but where is a good place to get started?


#2

One way to test an app is to record a session to a Muse file using the File Writer, and then in your unit test, read the file back in (using the File Reader) to see if it produces the same result.