Comments (2)
Cuckoo has two modes, mock and spy. The mock requires you to register every method you want to be callable. On the other hand, spy simply forwards all calls the the object you create the spy with. The point is to allow you alter just some methods, but keep the object responding as it is supposed to when calling others.
from cuckoo.
Ah ok, thanks :)
from cuckoo.
Related Issues (20)
- Use Cuckoo in product target? HOT 2
- Add support for Protocols requiring AnyActor conformance HOT 4
- Permission denied: Can't add comments to the list of files HOT 4
- Strip conflicting imports HOT 2
- Compilation fails in Xcode 14.3
- Error when running Cuckoo/run (cuckoo_generator ver. 1.10.2) HOT 4
- Unable to build with SPM install (ld: symbol(s) not found for architecture arm64) HOT 8
- Cuckoo need XCTest.framework in link binary with Libraries section. otherwise it shows error that is "cannot find 'XCTFail' in scope" in MockManager.swift file HOT 1
- Throwing "'some' types are only permitted in properties, subscripts, and functions" when `func` throws & has `some` for its parameter HOT 2
- Compiler custom flags are not supported by Cuckoo generator HOT 2
- Cuckoo does not support block-type closure HOT 2
- Carthage/Checkouts/Cuckoo/Generator/Generator.xcodeproj' does not exist. HOT 9
- Plenty errors in GeneratedMocks.ts for swift 5.8.1 HOT 2
- Error: Expected member name or constructor call after type name HOT 28
- Issue with Cuckoo Generating Mock for a variable's property HOT 1
- Mock restricts subclasses for method argument HOT 4
- Issue with variable name as `extension` HOT 1
- Problem with run script on Xcode 15 HOT 6
- Not able to initialise Mock Object HOT 1
- More descriptive failure messages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuckoo.