Coder Social home page Coder Social logo

kiwitest's Introduction

Using Kiwi 2.3 with Xcode 5 on OS X 10.8.5

I've run into troubles using Kiwi with Xcode 5. I launched the tests, got no errors, but no tests were running (0 tests running)

The problem is described here

TL;DR; :Xcode 5 uses Xctest unit testing instead of OCUnit (SenTesting kit framework). To get Kiwi working you need to use the "version" of Kiwi that uses Xctest. Instead of having multiple Kiwi versions, the smart guys behind it give us some git subrepositories. You need to select the right Kiwi subrepo. To do that, I'm using Cocoapods with this podfile:

platform :ios, '6.0'

xcodeproj 'KiwiTest/KiwiTest.xcodeproj'

target :KiwiTestTests, :exclusive => true do
    pod 'Kiwi/XCTest'
end

As you can see, a regular podfile but the trick is the Kiwi/XCTest part :-D

To use this, you need to setup Cocoapods


My environment

  • Xcode 5 build 5A1412
  • OS X 10.8.5
  • Cocoapods 0.25.0
  • Kiwi 2.2.2 (installed by Cocoapods)

kiwitest's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.