iOS - XCode: is there a way to write visual "unit test" which allows to observe an animation to complete? -


i testing ui animations within viewcontroller.

i added unit test test business logic in view-model class (e.g. if values correct). i'd add code in project can call visually inspect animation behaviour (e.g. animations runs based on values business model has).

my current solution write ad-hoc function in view-model trigger view controller animations. not 100% happy in terms of separations of concerns, function in unit test class.

is there predefined way achieve in ios?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -