azubala / ocmockitoswift Goto Github PK
View Code? Open in Web Editor NEWOCMockito adapter for Swift, that allows to create and operate on mocks which are subclasses of NSObject
License: MIT License
OCMockito adapter for Swift, that allows to create and operate on mocks which are subclasses of NSObject
License: MIT License
When trying to use mock(MyNSObjectSubclass.self
in my tests it's crashing when it tries to cast the mock to MyNSObjectSubclass
. Not sure if I'm doing something wrong or maybe that's never worked? ๐ค
Thanks a lot for supporting such a great tool!
There is a build issue when trying to run OCMockitoSwiftSpec tests. I would really appreciate it if we could fix it.
using pod 'OCMockitoSwift', '~> 0.3'
I got:
[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift podOCMockitoSwift
depends uponOCMockito
andOCHamcrest
, which do not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may setuse_modular_headers!
globally in your Podfile, or specify:modular_headers => true
for particular dependencies.
Fixed with: use_modular_headers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.