Comments (4)
We use FBSnapshotTestCase to generate our screen shots, which will actually fail the test suite if a screenshot doesn't match the historical version!
An example use: DashboardViewControllerTests.swift#L41-L52
We use a single app environment to manage global mutable state (like locale, language, current time, api client, etc.), which allows us to push and pop changes quickly and easily. More info on that can be seen in this talk: https://academy.realm.io/posts/try-swift-brandon-williams-writing-testable-code/
from ios-oss.
Thank you for the quick reply! We use carthage in our project to manage our dependencies and FBSnapshotTestCase doesn't support it (only Cocoapods). How are you guys dealing with your dependencies? I see you have a makefile but I couldn't make out what kind of build system you guys are using.
from ios-oss.
We use git submodules and drag the associated project files into our main project (see Makefile#L45-L47). We have very few dependencies (and half of them internal), so manually managing submodules hasn't been an issue!
from ios-oss.
Gitsubmodules is an interesting way to do it, thanks for the tip! I will look into that. Thanks again for the help!
from ios-oss.
Related Issues (20)
- no team account HOT 1
- Code that doesn't understand HOT 1
- No such Module 'Argo' HOT 1
- Not able to build project HOT 2
- Alamofire iOS: Unable to build HOT 3
- Question about architecture and bindings HOT 1
- Bootstrap fails because of Alamofire HOT 2
- Can't install apps as instructed. make bootstrap - Skipping secrets. HOT 6
- running "make bootstrap" it is failing with carthage: command not found HOT 1
- Lenses HOT 1
- xcframework HOT 2
- Are the storyboards not making problems when coding, refactoring and collaborating? HOT 1
- [Web] Validation failed: The identity verification process must be completed despite Green Status HOT 2
- ReactiveExtensions-TestHelpers-iOS build fail HOT 4
- make bootstrap throwing "Build Failed": ReactiveExtensions-iOS HOT 3
- Failed to read file or folder at /Users/administrator/ios-oss/Carthage/Build/iOS/FirebaseABTesting.framework
- [Idea] Remove `Screenshots` from repo HOT 1
- Open specific project page on Kickstarter app from another app using with CFBundleURLSchemes HOT 1
- RTL is not reversing direction when i pass UIView HOT 1
- run with runtime error 'Thread 1: "library must be initialized before calling this method."' 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 ios-oss.