Simon Shi

放飞梦想,专注于Mobile开发

  博客园 :: 首页 :: 新随笔 :: :: 订阅 :: 管理 ::

08 2011 档案

摘要:一些官方提供的Frank-Cucumber代码,可以参考去写我们自己的自动化测试代码 阅读全文
posted @ 2011-08-31 14:52 Simon Shi 阅读(552) 评论(1) 推荐(0)

摘要:在写自动化测试代码时,很多时候往往不知道具体有哪些方法可以调用,以下为Frank-Cucumber的各种实例方法及其实现 阅读全文
posted @ 2011-08-31 14:47 Simon Shi 阅读(404) 评论(0) 推荐(0)

摘要:This page is intended to act as a place for useful Frank step definitions which aren't quite standard enough to add to the core frank steps. Please feel free to contribute your own useful codez. 阅读全文
posted @ 2011-08-31 14:25 Simon Shi 阅读(377) 评论(0) 推荐(0)

摘要:Here are some detailed steps on how to create your first Frankified app. Screencast coming shortly. Please don't be intimidated by the length of this tutorial, it is also to help complete Xcode beginners 阅读全文
posted @ 2011-08-31 14:23 Simon Shi 阅读(525) 评论(0) 推荐(0)

摘要:安装部署 在敏捷开发中,经常会听到TDD,BDD这些词语,对于如何进行测试驱动开发,不同的敏捷团队有不同的执行方式,针对于目前在iOS下的测试方案,我们搭建了iOS的自动化测试平台。需要的安装文件(以下文件放到同一个目录下面,我的命名是setup_cucumber): 1.Frank 源代码 (可以从https://github.com/moredip/Frank下载,该项目用于为本地iOS应用做自动化行为测试) 2.必要的.gem档案 (如果有更新版本的.gem档,可以进行替换) builder-3.0.0.gem cucumber-0.10.2.gem diff-l... 阅读全文
posted @ 2011-08-31 11:03 Simon Shi 阅读(4277) 评论(3) 推荐(0)

摘要:I am sure everybody has heard about Cucumber ( https://github.com/aslakhellesoy/cucumber) – a tool for Behaviour Driver Development where you describe software behavior in natural language that your customer can understand. Through step definitions these behavior descriptions are executed as automated tests. Cucumber serves as documentation, automated tests and development aid. 阅读全文
posted @ 2011-08-30 11:16 Simon Shi 阅读(496) 评论(0) 推荐(0)

摘要:敏捷宣言遵循的原则 阅读全文
posted @ 2011-08-26 13:55 Simon Shi 阅读(214) 评论(0) 推荐(0)

摘要:敏捷软件开发宣言 阅读全文
posted @ 2011-08-26 13:53 Simon Shi 阅读(183) 评论(2) 推荐(1)

摘要:iOS SDK 5.0 provides support for developing iOS applications and includes the complete set of Xcode tools, compilers, and frameworks for creating applications for iOS and Mac OS X. These tools include the Xcode IDE and the Instruments analysis tool among many others. With this software you can develop applications that run on iPhone, iPad, or iPod touch running iOS 5.0. You can also test your applications using the included iOS Simulator, which supports iOS 5.0. There are two Xcode iOS SDK 5. 阅读全文
posted @ 2011-08-22 16:46 Simon Shi 阅读(511) 评论(0) 推荐(0)

摘要:最近做iPad下的项目需要画一些统计图,比如折线图,直方图,饼图等等,比较常用的就是Core Plot了。Core Plot :http://code.google.com/p/core-plot/可以在这里去获取最新的Core Plot代码或者下载打包文件,具体的文档在documentation目录下面,分别有Mac和iOS的。目前最新的打包文件是 CorePlot_0.4.zip跟原版本相比,配置过程有些简化。1.在项目的目录下面New Group,命名为libraries2.在Binaries目录下的有分别对应iOS和Mac的文件,我这里以iOS为例,将CorePlotHeaders目录 阅读全文
posted @ 2011-08-17 18:46 Simon Shi 阅读(680) 评论(0) 推荐(0)

摘要:Automatic Reference Counting (ARC), 自动引用计数,是开发Cocoa程序时的一个编译级别的特性,用于自动内存管理。 阅读全文
posted @ 2011-08-17 18:02 Simon Shi 阅读(1509) 评论(3) 推荐(0)

摘要:在开发当中有时应需求会要求在一个控件上实现响应多种触控的操作,比如一个UIButton,需要你同时处理手指一次点击,两次点击,甚至三次,多次点击的事件,如何处理?虽然从用户的角度出发,也许每个控件都只实现一次点击的事件是最直接的也是最可接受的,每个控件最好都只有单一职责,但是开发当中总会有这样那样的需求不得不去做。下面举个例子: 1 UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 120, 40)]; 2 3 UITapGestureRecognizer *clickOnce = [[UITapGestu. 阅读全文
posted @ 2011-08-05 15:59 Simon Shi 阅读(1047) 评论(0) 推荐(0)

摘要:今天在博客园开张了我的新博客,也是在我生日的前一天,自己表示下庆祝吧。做程序员这么多年,慢慢的发现,敝帚自珍只会导致技术的没落和生产力的下降,因为开源,因为分享,我们才会慢慢的进步。感谢那些一直以来分享自己心得体会的人,他们所做的事情也许谈不上伟大,但是却实实在在的帮助了很多的人,为程序员的圈子作出了他们自己的贡献。所以我也愿意把我在工作和研究当中的一些心得体会拿出来与有兴趣的人一起分享。希望可以给那些与我遇到相似问题的人一些帮助,大家一起进步。 阅读全文
posted @ 2011-08-04 18:06 Simon Shi 阅读(145) 评论(1) 推荐(0)