Project

ghrunit

0.0
No commit activity in last 3 years
No release in over 3 years
When using GHUnit from the command line to run your tests, it gets pretty verbose. So you're spending time combing through the results. Time you could have been spending on ready hackernews; so let's change that.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.0
~> 1.5.2
>= 0
>= 0

Runtime

>= 0
 Project Readme

ghrunit

What and why?

When using GHUnit from the command line to run your tests, it gets pretty verbose. So you're spending time combing through the results. Time you could have been spending on reading hackernews; so let's change that.

What we're changing:

  • Colored output
  • Better grouping of tests

So this:

Before

Becomes this:

After

How do I install it?

  1. Be sure to read this for the command line build.
  2. Install the gem (gem install ghrunit)
  3. Create a Rakefile at the .xcodeproj level
  4. Fill the Rakefile with:
require 'rake'
require 'ghrunit'

task :default => [:test]

desc "Cleans the build folder"
task :clean do
  `rm -rf build/*`
end

desc "Tests the app from the command line"
task :test do
  ENV['GHUNIT_CLI']="1"
  GHRunit.new(:target => "tests")
end

How do I use it?

Open your Terminal, navigate to the project folder and do rake test, this should show your tests, neatly organised and colored.

Can I buy you a beer?

Yes.

Copyright (c) 2011 pjaspers. See LICENSE.txt for further details.