KPAViewControllerTestHelper 1.1.0

KPAViewControllerTestHelper 1.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Sep 2015

Maintained by Klaas Pieter Annema.



  • By
  • Klaas Pieter Annema

Introduction

A convenience class for testing iOS view controllers

Installation

Add the following to your Podfile:

pod "KPAViewControllerTestHelper", git: "https://github.com/klaaspieter/KPAViewControllerTestHelper.git"

Usage

Before a test present the view controller like so:

[KPAViewControllerTestHelper presentViewController:_viewController];

Or if the view controller is part of a navigation stack use:

[KPAViewControllerTestHelper pushViewController:_viewController];