Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SenTestingKit (integrated with XCode) versus GHUnit on XCode 4 for Unit Testing?

Any advice on which way to go regarding Unit Testing on XCode 4 out of SenTestingKit (the inbuild unit testing framework with XCode 4) and GHUnit? In particular:

  • With the apparent improvements to Unit Testing in XCode 4 does this mean there are no major benefits of running with GHUnit?

  • Alternatively are there some integration benefits that make a smooth development process that could be achieved using XCode's unit testing framework (SenTestingKit) as opposed to GHUnit?

like image 339
Greg Avatar asked Mar 28 '11 07:03

Greg


2 Answers

Greg, I answered your question on my blog, about 2 weeks late :). The conclusion I came to is the GHUnit isn't obsolete, but you should use SenTestingKit for new projects on Xcode 4.

http://longweekendmobile.com/2011/04/15/unit-testing-in-xcode-4-use-ocunit-and-sentest-instead-of-ghunit/

like image 92
makdad Avatar answered Nov 17 '22 22:11

makdad


actually got some good feedback after also polling the apple forum community here https://devforums.apple.com/message/408448#408448

like image 2
Greg Avatar answered Nov 17 '22 21:11

Greg