Comments (7)
Could you post your entire spec source (feel free to leave out non relevant specs as ling as the crash still occurs) and I will investigate. Thanks.
from kiwi.
https://github.com/samjohn/kiwi-label-explosion
thanks!
from kiwi.
Probably Kiwi. I'll check.
On Jun 26, 2011, at 5:42 AM, [email protected] wrote:
I added a UILabel to one of my views and although it worked in the iPhone simulator it blew up in kiwi halting the thread. It happened on the line:
UILabel *label = [[[UILabel alloc] init] autorelease];
I narrowed it down to the init, as [UILabel alloc] did not cause the app to crash.
Is this a bug in kiwi or is there something I've failed to load? As far as I know it did not crash on init of other UIKit objects.
Thanks
Reply to this email directly or view it on GitHub:
https://github.com/allending/Kiwi/issues/33
from kiwi.
I was able to reproduce this using a standard SenTestCase so I'm not sure it's related directly to Kiwi.
It would be interesting to know what the problem is though.
from kiwi.
Hmm, yeah I will let you know if I figure it out. Thanks for looking into it!
from kiwi.
As a pointer, this definitely seems to be related to the difference between what Apple used to distinguish as "logic tests" which were run by a script and "application tests" which were run by injecting the bundle into the app.
This seems to have all changed in Xcode 4 but I can't figure out how "application tests" are supposed to run. Searching on the Apple dev forums reveals others having similar issues with UIKit causing test suite crashes.
from kiwi.
Did you ever find out a solution to this. I'm running into that same issue. When I init a UILabel in a unit test - I get a crash.
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.