What's in my iOS Toolbox? Part 2
edsancha.com
What's in my iOS Toolbox? Part 2
1–9 of 9 posts
Re: What's in my iOS Toolbox? Part 2
#2Re: What's in my iOS Toolbox? Part 2
#3Parte Segundo or second part sounds a bit unusual.
Good content is always king though.
Re: What's in my iOS Toolbox? Part 2
#4Subliminal allows you to write tests in Objective-C that interface directly with your app. This makes your tests be more powerful (can test things not visible to the user, and can simulate activity that UIAutomation can't (like a credit card swipe, which is why KIF was invented)).
More amazing is that you get the benefits of static typing. Instead of stringly-typed accessibility identifiers, you can use string constants (NSString * const kIdentifier = @"blah").
It runs by bridging UIAutomation and Objective-C, so its more reliable than KIF, which has to use private API to simulate touches. This doesn't work correctly for gesture recognizers and is very fragile.
Re: What's in my iOS Toolbox? Part 2
#5http://benscheirman.com/2013/08/the-ios-developers-toolbelt/
Re: What's in my iOS Toolbox? Part 2
#6Re: What's in my iOS Toolbox? Part 2
#7Re: What's in my iOS Toolbox? Part 2
#8My personal recommendation on Automated Testing is to use Subliminal https://github.com/inkling/Subliminal Subliminal allows you to write tests in Objective-C that interface directly with your app. This makes your tests be more powerful (can test things not visible to the user, and can simulate activity that UIAutomation can't (like a credit card swipe, which is why KIF was invented)). More amazing is that you get th…
Re: What's in my iOS Toolbox? Part 2
#9My personal recommendation on Automated Testing is to use Subliminal https://github.com/inkling/Subliminal Subliminal allows you to write tests in Objective-C that interface directly with your app. This makes your tests be more powerful (can test things not visible to the user, and can simulate activity that UIAutomation can't (like a credit card swipe, which is why KIF was invented)). More amazing is that you get th…
I've been using UIAutomation to automate screenshot generation and make it easier to keep support documents up-to-date. Do you know if this works for that? Straight UIAutomation times out a lot doing that and often requires multiple runs to get everything.
- (void)captureScreenshotWithFilename:(NSString *)filename
{
[[SLTerminal sharedTerminal] evalWithFormat:@"UIATarget.localTarget().captureScreenWithName(\"%@\")",
[filename slStringByEscapingForJavaScriptLiteral]];
}