Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Test Framework for Objective-C
Objective-C Ruby Shell CSS Other
Tag: 0.5.9

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Classes-MacOSX
Classes-iOS
Classes
Documentation
Examples
Gem
Libraries
Project-MacOSX
Project-iOS
Scripts
Tests
XcodeConfig
.gitignore
.travis.yml
CHANGELOG.md
GHUnit.podspec
LICENSE
Makefile
README.md

README.md

GHUnit Build Status Cocoa Pod Cocoa Pod License

GHUnit is a test framework for Mac OS X and iOS. It can be used standalone or with other testing frameworks like SenTestingKit or GTM.

Features

  • Run tests, breakpoint and interact directly with the XCode Debugger.
  • Run from the command line or via a Makefile.
  • Run tests in parallel.
  • Allow testing of UI components.
  • Capture and display test metrics.
  • Search and filter tests by keywords.
  • View logging by test case.
  • Show stack traces and useful debugging information.
  • Include as a framework in your projects
  • Determine whether views have changed (UI verification)
  • Quickly approve and record view changes
  • View image diff to see where views have changed

Install

Add the GHUnit gem

gem install ghunit

Create the Tests target

ghunit -n NameProject

Add the Tests target to your Podfile

In your Podfile:

target :Tests do
    pod 'GHUnit', '~> 0.5.9'
end

And install the GHUnit pod into the workspace:

pod install

Then open the .xcworkspace. Switch to the Tests scheme to run the tests.

Install (From Source)

iOS

cd Project-iOS && make

Add the GHUnitIOS.framework to your project

OS X

cd Project-MacOSX && make

Add the GHUnit.framework to your project

Documentation

Mac OS X

GHUnit-0.5.8

iOS

GHUnit-IPhone-0.5.8

Something went wrong with that request. Please try again.