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
Post a Comment