blog.lazerwalker.com
IntentKit 0.6.0: In-App Actions and Other Fanciness
http://blog.lazerwalker.com/intentkit/2014/05/14/intentkit-0-dot-6-0-in-app-actions-and-other-fanciness.html
IntentKit 0.6.0: In-App Actions and Other Fanciness. May 14, 2014. I’m proud to announce the latest version of IntentKit. Has dropped. It represents perhaps the biggest change to IntentKit since its initial release, and is something I’m incredibly excited about. Right now, there are three actions this can be used for: sending email (powered by. And viewing web sites (a custom view controller wrapping a. Containing some standard lightweight browser features). These are treated just like normal IntentK...
ryantang.me
置换测试: Mock, Stub 和其他 - Ryan's Zone
http://ryantang.me/blog/2014/08/21/test-doubles
Never let yourself regret. 置换测试: Mock, Stub 和其他. 例如,UI 测试将模拟实际的用户输入 Klaas 在 他的文章. 稍后我们在这篇文章中会看到一些库,它们自认为自己是 “mock 对象框架”,但是其实它们也提供 stub 的功能,而且验证行为的方式也类似于我描述的 “spy” 而不是 “mock”。 如果你对不同类型的模拟测试对象更多的细节讨论感兴趣,Martin Fowler 的文章 “Mocks Aren’t Stubs”. 模拟主义者 (Mockists) vs. 统计主义者 (Statists). 给这个用例写一个端到端的测试,就算是有可能做到,也是非常困难的,因为 ‘成功状态’ 本身导致了应用程序的关闭。 Interface AppLinker : NSObject - (instancetype)initWithApplication:(UIApplication *)application; - (void)doSomething:(NSURL *)url; @end. OCMock 只在最近 3.0 版本后增加了对该功能的支持。 Id ap...
SOCIAL ENGAGEMENT