Skip to content


Test Utility Method Location

TestUtilityMethodLocation

  
由图可知,测试工具方法的位置主要有三个地方:

1. SuperClass,测试父类,通过继承来访问测试工具方法。

2. TestClass,放到测试类自身中,通过this的形式访问 。

3. TestHelper,放到测试帮助类中,通过delegate的形式访问。

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • LinkedIn
  • description
  • TwitThis
  • MySpace
  • StumbleUpon
  • Google
  • FriendFeed
  • Mixx
  • Reddit

Posted in 全部, 开发技术, 读书笔记. Tagged with .

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.

使用新浪微博登陆