GithubHelp home page GithubHelp logo

ollieatkinson / expectation Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 0.0 97 KB

A simple and elegant matcher framework built on top of XCTest for Swift.

License: MIT License

Ruby 4.79% Objective-C 0.56% Swift 94.65%

expectation's Introduction

Hi there ๐Ÿ‘‹

expectation's People

Contributors

ollieatkinson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

expectation's Issues

Fix `carthage update` not finding the shared schemes.

$ carthage update
*** Fetching Expectation
*** Checking out Expectation at "0.0.1"
*** xcodebuild output can be found in /var/folders/fc/_qbh8jv15qdftrq9n1sqyc95sj_xf1/T/carthage-xcodebuild.PY7LcG.log
*** Skipped building Expectation due to the error:
Dependency "Expectation" has no shared framework schemes

If you believe this to be an error, please file an issue with the maintainers at https://github.com/ollieatkinson/Expectation/issues/new

Protocol matcher to work for swift classes and structs

Currently the matcher for conformTo requires the object to respond to NSObjectProtocol I should look at not requiring this.

A potential method might include something like

func conformTo<U>(type: U.Type, _ description: String = "") {
  assertNotNil(expect as? U.Type, self.description(__FUNCTION__, type, description))
}

However I am not sure of the validity of this at the moment and more investigation is required.

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.