Comments (2)
I like not having to open Xcode (like obviously I am developing in Xcode, but usually it would mean having to open another Xcode window for the PromiseKit tests), so I made it so I can just run it in the Terminal. There are no disadvantages, but I also can run a sinatra web server that returns fixtures so I don't need to mock NSURLConnection and thatβs very handy.
In many ways it was just experimentation, seeing what was possible. I've done it with several other projects too and each time it felt like I was gaining in ways I appreciate while not losing anything that mattered to me. I find the testing environment in Xcode unsatisfactory since it requires the iPhone simulator and also runs an entire application inside the simulator, with event loop and UIApplication
. This way I have more control while also knowing for sure what is running, which when it comes to testing, seems important.
The only disadvantage is not getting the Xcode debugger when tests fail in ways you need to debug. I added a -d
flag but the CLI LLDB is not as nice as Xcode.
from promisekit.
π Thanks for the clarification.
from promisekit.
Related Issues (20)
- Crash on iOS11/12 HOT 3
- Issues when submitting to App Store building against iOS 16 HOT 21
- Cannot use PromiseKit as a dependency in a Swift Package HOT 5
- Could not find Xcode version that satisfied version spec: '12.4' HOT 1
- Cannot use URLSession.shared.dataTask(.promise, with: url) in my project HOT 1
- Problems building with Xcode 14.3 beta2 HOT 5
- dependabot requests HOT 1
- Update Cocoapod Release Version? HOT 9
- Website taken over by someone else? HOT 3
- Cocoapods's pods that depend on PromiseKit 6.22.1+ fail to `pod lib lint` while using Xcode 14.3 HOT 6
- Undefined symbols for architecture arm64 : PromiseKit HOT 3
- Xcode 15 Warning HOT 1
- promiseWithBooleanAdapterBlock HOT 8
- Add support of visionOS HOT 1
- SPM doesn't compile properly with version 8.x.x HOT 4
- Maige Usage
- Maige Usage
- Maige Usage
- Maige Usage
- Privacy Manifest HOT 16
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 promisekit.