What's your approach to testing iPhone / iPad apps?

后端 未结 5 1741
南旧
南旧 2021-02-02 01:47

When developing for iPhone/iPad do you

  1. Do unit/integration/etc testing?
  2. What framework(s) do you use?
  3. What other framework(s) have you tried (if
5条回答
  •  再見小時候
    2021-02-02 02:07

    1. No
    2. N/A
    3. N/A

    In all honesty, I found the amount of work required to create a single unit test to be a complete pain. There's a ton of mocking that's required even for the most basic of tests. As well, it's been difficult to separate the models, views, and controllers in iPhone. And given that my app was quite small, it wasn't worth the time.

    If/When I was writing something larger, I'd re-investigate unit testing again.

    With that said, I did a ton of user/QA style testing. Watching others use the app (really helpful!), me using the app, etc. You can't skimp there if you skimp on unit tests!

提交回复
热议问题