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

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

asp.net mvc - how to pass 'true'/'false' data from Controller to View using jquery for bootstrap validator in MVC -