XCode 7.2 not recognizing tests

18 views
Skip to first unread message

Shukla, Vandana

unread,
Apr 13, 2016, 10:16:22 AM4/13/16
to cedar-...@googlegroups.com
Hi There, 

We have an app which is developed by the help of pivotal labs. In which we have used XCode 6.4 and Cedar library. OS target was 8.4.

Now we are upgrading our app to XCode 7.2 version. And our project build and run sucessfully, but NONE of our test get recognized :(. Any help is appriciated. 

This is our POD file code. 

# Uncomment this line to define a global platform for your project
# platform :ios, '6.0'

target 'my-ecc-mobile' do
  pod 'AFNetworking'
  pod 'Blindside', :git => 'https://github.com/jbsf/blindside.git', :commit => 'f8a75a12015d8550775bebaf12df5e2aecb5c367', :inhibit_warnings => true
  pod 'PCFPush', :git => 'https://github.com/cfmobile/push-ios.git', :tag => '1.3.1-final', :inhibit_warnings => true
  pod 'Reveal-iOS-SDK', :configurations => ['Debug']
  pod 'UIDeviceIdentifier'
end

target 'my-ecc-mobileTests' do
  pod 'Cedar'
  pod 'Robot'
  pod 'OHHTTPStubs'
  pod 'CedarAsync', :git => 'https://github.com/shake-apps/CedarAsync.git'
  pod 'PivotalCoreKit'
  pod 'PivotalCoreKit/UIKit/SpecHelper/Extensions'
  pod 'PivotalCoreKit/Foundation/SpecHelper/Fakes'
end

Best Regards,
Vandana

Sam Coward

unread,
Apr 13, 2016, 10:18:39 AM4/13/16
to cedar-...@googlegroups.com
Hi Vandana,

What version of Cedar did CocoaPods use (there should be some reference to this in the Podfile.lock)? Have you tried upgrading to 0.13.1?

--
Sam

--
You received this message because you are subscribed to the Google Groups "Cedar Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cedar-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

vandana...@gmail.com

unread,
Apr 13, 2016, 1:48:21 PM4/13/16
to Cedar Discussion, vs...@allstate.com

vandana...@gmail.com

unread,
Apr 13, 2016, 1:48:21 PM4/13/16
to Cedar Discussion

vandana...@gmail.com

unread,
Apr 13, 2016, 1:48:21 PM4/13/16
to Cedar Discussion
- Cedar (0.11.2)


This is my podfile.lock  (I am wondering that some of the dependencies are deprecated, like robot etc, what we should use instead of those.)

PODS:
  - AFNetworking (2.5.4):
    - AFNetworking/NSURLConnection (= 2.5.4)
    - AFNetworking/NSURLSession (= 2.5.4)
    - AFNetworking/Reachability (= 2.5.4)
    - AFNetworking/Security (= 2.5.4)
    - AFNetworking/Serialization (= 2.5.4)
    - AFNetworking/UIKit (= 2.5.4)
  - AFNetworking/NSURLConnection (2.5.4):
    - AFNetworking/Reachability
    - AFNetworking/Security
    - AFNetworking/Serialization
  - AFNetworking/NSURLSession (2.5.4):
    - AFNetworking/Reachability
    - AFNetworking/Security
    - AFNetworking/Serialization
  - AFNetworking/Reachability (2.5.4)
  - AFNetworking/Security (2.5.4)
  - AFNetworking/Serialization (2.5.4)
  - AFNetworking/UIKit (2.5.4):
    - AFNetworking/NSURLConnection
    - AFNetworking/NSURLSession
  - Blindside (1.0-alpha)
  - Cedar (0.11.2)
  - CedarAsync (0.0.1):
    - Cedar
  - OHHTTPStubs (3.1.11):
    - OHHTTPStubs/Core (= 3.1.11)
  - OHHTTPStubs/Core (3.1.11)
  - PCFPush (1.3.1)
  - PivotalCoreKit (0.3.0):
    - PivotalCoreKit/Core (= 0.3.0)
  - PivotalCoreKit/Core (0.3.0):
    - PivotalCoreKit/Foundation/Core
    - PivotalCoreKit/UIKit/Core
  - PivotalCoreKit/Foundation/Core (0.3.0)
  - PivotalCoreKit/Foundation/SpecHelper/Fakes (0.3.0):
    - PivotalCoreKit/Foundation/SpecHelper/Fixtures
  - PivotalCoreKit/Foundation/SpecHelper/Fixtures (0.3.0)
  - PivotalCoreKit/UIKit/Core (0.3.0):
    - PivotalCoreKit/UIKit/Core/Core-arc (= 0.3.0)
  - PivotalCoreKit/UIKit/Core/Core-arc (0.3.0)
  - PivotalCoreKit/UIKit/SpecHelper/Extensions (0.3.0):
    - PivotalCoreKit/UIKit/SpecHelper/Support
  - PivotalCoreKit/UIKit/SpecHelper/Support (0.3.0)
  - Reveal-iOS-SDK (1.5.1)
  - Robot (0.0.2)
  - UIDeviceIdentifier (0.4.4)

DEPENDENCIES:
  - AFNetworking
  - Blindside (from `https://github.com/jbsf/blindside.git`, commit `f8a75a12015d8550775bebaf12df5e2aecb5c367`)
  - Cedar
  - OHHTTPStubs
  - PCFPush (from `https://github.com/cfmobile/push-ios.git`, tag `1.3.1-final`)
  - PivotalCoreKit
  - PivotalCoreKit/Foundation/SpecHelper/Fakes
  - PivotalCoreKit/UIKit/SpecHelper/Extensions
  - Reveal-iOS-SDK
  - Robot
  - UIDeviceIdentifier

EXTERNAL SOURCES:
  Blindside:
    :commit: f8a75a12015d8550775bebaf12df5e2aecb5c367
  CedarAsync:
  PCFPush:
    :tag: 1.3.1-final

CHECKOUT OPTIONS:
  Blindside:
    :commit: f8a75a12015d8550775bebaf12df5e2aecb5c367
  CedarAsync:
    :commit: 6690af7d8e45713ae1e08c9e23d13271d6ecc65a
  PCFPush:
    :tag: 1.3.1-final

SPEC CHECKSUMS:
  AFNetworking: 05edc0ac4c4c8cf57bcf4b84be5b0744b6d8e71e
  Blindside: a73d69506c3f3e078cdf691c162d7e58213d5519
  Cedar: 5fc651dc12640d5045393d2d51309e91c2abcbff
  CedarAsync: c107e7a9314174b5349414f3b2e42035b5a608aa
  OHHTTPStubs: 5624a5d20d97d46d47e15a68ca8808b59ccf0512
  PCFPush: abfd538c4bee1f80adfac7d4c73ef0b863a1faef
  PivotalCoreKit: 3dab7cf9bff77eb49ce7ffc7a84e57fa8591f033
  Reveal-iOS-SDK: c9c55cad2729c85f6ced415f1b21857c9a2d8ef9
  Robot: 60748ef3ef94fcdaae5a904dc75eb91635cc3f7f
  UIDeviceIdentifier: 2eb1070f189a069184611e21b5e8832443e6f8ec

COCOAPODS: 0.37.2

************************************





On Wednesday, 13 April 2016 15:18:39 UTC+1, scoward wrote:

Sam Coward

unread,
Apr 13, 2016, 1:56:37 PM4/13/16
to cedar-...@googlegroups.com
Hi Vandana,

please try updating Cedar to 0.13.1 and let me know if you still have problems running the tests.

Regarding Robot; it was created at a time pre-dating proper first-class UI testing support from Apple in Xcode. Now that is no longer the case, the author has dropped support for it. Those tests will probably have to be converted at some point, preferably before Apple makes changes that could possibly break Robot functionality.

--
Sam
Reply all
Reply to author
Forward
0 new messages