ImagePickerSheetController icon indicating copy to clipboard operation
ImagePickerSheetController copied to clipboard

Getting the specs to run was a bit tricky!

Open colinta opened this issue 8 years ago • 2 comments

@lbrndnr Are you able to get specs to run easily? I had to do a ton of work to get them going.

  1. Looks like you prefer Carthage, which is 💯 but I'm "old school" and still use Pods, so I added KIF and Quick&Nimble via a Podfile. So that involved using a workspace and changing IPSC.xcodeproj/project.pbproj to be compatible
  2. Exposed waitForViewWithAccessibilityIdentifier (and friends) in KIFExtensions.swift. Looks like you used to maintain a fork of KIF, but it's been deleted? These methods are not available in KIF v 3.4.2 (latest)
  3. On the upside, it would be easy to get Travis-CI running, I've used it w/ Pods enough to be able to get that going.

Thoughts on all this? Feels like I must be doing something wrong...

colinta avatar Jun 09 '16 16:06 colinta

You can see what I mean here:

https://github.com/colinta/ImagePickerSheetController/pull/1

Travis: https://travis-ci.org/colinta/ImagePickerSheetController/builds/136491975

colinta avatar Jun 09 '16 17:06 colinta

Yeah, looks like I deleted my KIF branch... I think the problem was that KIF was being KIF and acted up a little so I had to alter a couple methods in order to interact with my control.

Are the tests not running at all using the latest version of KIF?

lbrndnr avatar Jun 12 '16 06:06 lbrndnr