An Xcode file template for GHUnit tests
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Objective-C GHUnit test case.xctemplate
README.md
setup.sh

README.md

GHUnit XCode File Template

This is an XCode file template for GHUnit test case classes.

Installation

Relatively simple. Just clone this repo somewhere.

git clone git://github.com/playforge/ghunit_file_template.git

Once that's done, take a peek inside. You should see a file called setup.sh. Run it.

bash setup.sh

You should be done.

Usage

When creating a new file, there should be a new iOS category called "File Templates" that contains a GHUnit template. Select it.

GHUnit template selection step 1

After hitting next, you should be prompted with a text field asking what class you're testing. Enter the name of the class to be tested. For example, if you're going to test a ZFBitBank class, enter that.

GHUnit template settings step 2

After that, just make sure your targets are properly selected, and you're good to go.