上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 36 下一页
摘要: One of the challenges developers face when writing unit tests is how to handle external dependencies. In order to run a test, you may need a connectio... 阅读全文
posted @ 2015-01-22 15:28 如来藏 阅读(240) 评论(0) 推荐(0) 编辑
摘要: Today I want to talk about mocking frameworks and why they are useful. In order to do that I first need to propose a scenario to you in which we will ... 阅读全文
posted @ 2015-01-22 13:57 如来藏 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 对于开发人员来说,往往对各种测试方法感到疑惑。特别是在整合代码的时候,我们就能深刻感觉受到测试的重要性。很多开发人员只注重写代码,轻视测试的重要性。总是代码一写完提交然后就交给测试组测试了,没多久测试组发回测试报告。然后又苦恼的修改自己代码的bug,慢慢地就开始讨厌测试组人员。没有经过自己细心测试的... 阅读全文
posted @ 2015-01-20 14:40 如来藏 阅读(9263) 评论(0) 推荐(1) 编辑
摘要: Since you say you are new to unit testing and asked for mock objects in "layman's terms", I'll try a layman's example.Unit TestingImagine unit testing... 阅读全文
posted @ 2015-01-19 13:17 如来藏 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Mocking is primarily used in unit testing. An object under test may have dependencies on other (complex) objects. To isolate the behavior of the objec... 阅读全文
posted @ 2015-01-19 13:05 如来藏 阅读(188) 评论(0) 推荐(0) 编辑
摘要: To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own id... 阅读全文
posted @ 2015-01-16 17:37 如来藏 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 凡是做过软件开发的,都会接触到开源软件或开源组件,它们都会基于某种协议来提供源码和授权,那么这些开源协议到底有哪些约束呢?在介绍之前,必须告诉大家,针对开源协议,必须打消“开源 = 免费”这个念头,因为“天下没有免费的午餐”这条真理在这里也是适用的……本文摘录的各种开源协议介绍如下:Apache L... 阅读全文
posted @ 2015-01-16 17:34 如来藏 阅读(1774) 评论(0) 推荐(0) 编辑
摘要: 如何为代码选择开源许可证,这是一个问题。世界上的开源许可证,大概有上百种。很少有人搞得清楚它们的区别。即使在最流行的六种----GPL、BSD、MIT、Mozilla、Apache和LGPL----之中做选择,也很复杂。乌克兰程序员Paul Bagwell,画了一张分析图,说明应该怎么选择。这是我见... 阅读全文
posted @ 2015-01-16 17:27 如来藏 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 欢迎访问aw's blog。对我的观点感兴趣,可通过订阅我的RSS(什么是RSS?)保持更新,选择您使用的阅读器:Google Reader、鲜果、抓虾(更多)1当Adobe、Microsoft、Sun等一系列巨头开始表现出对”开源”的青睐时,”开源”的时代即将到来!最初来自:sinoprise.c... 阅读全文
posted @ 2015-01-16 17:06 如来藏 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 不知不觉我们已经来到了Core Data系列教程的最后一部分了,在这里我们要讨论如何使用NSFetchedResultsController来优化我们的应用,提高应用的运行速度,减少其内存占用。你是不是已经忘记了以前讲过什么呢?我们来复习一下,在第一篇教程中:《iOS教程:Core Data数据持久... 阅读全文
posted @ 2015-01-15 17:15 如来藏 阅读(1226) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 36 下一页