Comments (9)
I'd be happy to drop Xcode 3 support; in fact, when iOS5 is out, I'd be happy to drop < iOS 4 support too which means not having to worry about no block support. Less code to maintain too.
from kiwi.
Absolutely. Also, I wonder how many people still use GCC.
On Thu, Jun 23, 2011 at 8:14 AM, lukeredpath <
[email protected]>wrote:
I'd be happy to drop Xcode 3 support; in fact, when iOS5 is out, I'd be
happy to drop < iOS 4 support too which means not having to worry about no
block support. Less code to maintain too.Reply to this email directly or view it on GitHub:
https://github.com/allending/Kiwi/issues/31#issuecomment-1422147
from kiwi.
I agree that dropping support for Xcode 3.x makes sense. However, I do use the blocks alternative so I can set breakpoints and debug within my tests. If there's a way to debug with blocks, I'd be happy to use them, but for now, I couldn't get debugging working unless I used the blocks alternative.
from kiwi.
Joshua, could you try out the latest build of Kiwi.
I've just committed a change that lets you disable the Kiwi built-in macros by defining KIWI_DISABLE_MACRO_API.
The result is that the equivalent functions will be called directly. The use of macros was to enable the calling of these functions with call-site information for better error handling although it seems that Xcode 4 is able to show errors in the correct place without this.
As a result, by not using the macros, code completion appears to work correctly, as do breakpoints within your spec blocks!
Please test it out.
from kiwi.
Works for me! Thanks for adding this!
This means I retract my previous comment - I'd be fine with support being dropped for the Blocks Alternative.
from kiwi.
It also works for me.
from kiwi.
All, I implemented the Xc4+ requirement by removing non-block support in the latest push.
Luke, I also removed the Kiwi macros (and the KIWI_DISABLE_MACRO_API since it is no longer relevant), and you are totally right, it works like a charm. I might be crazy but I don't usually write extra code for nothing, so I'll take another look just for sanity. Gosh, Xc3 was a PITA in this regard.
Shows you how much I have been slacking. :)
from kiwi.
Allen: might be worth looking at mock failures; I do seem to recall seeing some issues when not using the macros in terms of error line reporting, but not for all failures.
from kiwi.
Luke, will do.
Docs and Readme updated. Want to move everything to Github eventually. Anyone have tips on how to get Github to host those fancy looking landing pages or how to manage the Kiwi website? I don't really enjoying editing HTML files by hand.
from kiwi.
Related Issues (20)
- Use predicate in stubbed properties when filtering mock objects in array HOT 1
- Macros autocomplete not working HOT 1
- when the second run testCase, not real run and success directly
- Swift 3 cocoapods run failed HOT 3
- Tests are executed in a wrong order under certain conditions (Xcode 8.3, single suite)
- Please help me :D Invalid pointer dequeued from free list
- Using a sharedExample in another HOT 2
- kiwi report error that' SenTestingKit/SenTestingKit.h file not found' HOT 2
- build synthetic seismogram in a specific station HOT 1
- Stop tests execution if one test is failed HOT 1
- Xcode 9: `any` Macro Conflicts with Generated Swift Header Macro `SWIFT_MODULE_NAMESPACE_PUSH` HOT 6
- Preparing next release HOT 8
- theValue(BOOL) not working with should receive
- XCTest.framework/XCTest' does not contain bitcode HOT 2
- expectFutureValue not working HOT 2
- How to test cadisplaylink
- Oops… the system encountered a problem (#500) - Retrying in X:XXs… HOT 1
- SharedExample with multiple 'it' blocks
- SIGABRT: kiwi crashes at KWProbePoller
- Preparing a new version (3.1.0) - Upgrading to Xcode 11 HOT 4
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 kiwi.