统计

留言簿(1)

DB

Others

QA

Tech Website

阅读排行榜

评论排行榜

#

【转】How google test software-part one

     摘要: The one question I get more than any other is "How does Google test?" It's been explained in bits and pieces on this blog but the explanation is due an update  阅读全文

posted @ 2011-05-30 08:10 XXXXXX 阅读(693) | 评论 (0)编辑 收藏

【转】To new or not to new

     摘要: Dependency injection asks us to separate the new operators from the application logic. This separation forces your code to have factories which are responsible for wiring your application together. However, better than writing factories, we want to use automatic dependency injection such as GUICE to do the wiring for us. But can DI really save us from all of the new operators?  阅读全文

posted @ 2011-05-29 10:20 XXXXXX 阅读(251) | 评论 (1)编辑 收藏

【转】How to think about OO

     摘要: Everyone seems to think that they are writing OO after all they are using OO languages such as Java, Python or Ruby. But if you exam the code it is often procedural in nature  阅读全文

posted @ 2011-05-29 09:48 XXXXXX 阅读(274) | 评论 (1)编辑 收藏

【转】The SET Career Path

By James Whittaker

I’ve had a number of questions about the SET role and it seems I have confused folks when I say that the SWE is a tester and the SET is a tester and at the same time the SWE is a developer and the SET is a developer. What could possibly be confusing about that?

Oh, yeah. Right.

My next series of posts are going to detail the role of the SET and all will eventually be clear but some clarification on career path seems worthwhile.

SETs are developers who write test code and automation as their primary task. They are in every sense of the word a developer. When we interview SETs, SWEs are on the interview loop and SWE questions are asked. They are not all of the interview, but they are part of it.

This means that the skill set that our SETs possess makes them perfect candidates for switching to the SWE role. There is neither incentive nor deterrent to do so. SETs and SWEs are on the same pay scale and bonus structure (I have both roles reporting to me so I have real visibility into salary data) and their promotion velocity (again based on actual data) is roughly equivalent. This means that SETs have no outside influences to prompt them one way or the other.

The key factor is really the type of work you are doing. SETs who find themselves involved in SWE work usually convert to SWE. SWEs are also drawn in the opposite direction. Much of this happens through our 20% time work. Any SET interested in SWE work can take on a 20% task doing feature development. Any SWE interested in automation can find a group and sign up for a 20%. Right now I have both SWEs and SETs involved in such cross pollination.

The ideal situation is that the title reflects the actual work that you are involved in. So if an SET starts doing more feature dev work than automation, he or she should convert, same for SWEs doing automation work. In my time here, conversions in both directions have happened, but it is not all that common. The work of both roles is engaging, interesting and intense. Few Googlers are walking around bored.

Bottom line: do the work you are passionate about and capable of and the right job title will find you.

posted @ 2011-05-25 00:04 XXXXXX 阅读(271) | 评论 (0)编辑 收藏

Visitor模式和Double Dispatch


一、概念
  静态分派(Static Dispatch),发生在编译时期,分派是根据静态类型信息发生的,方法重载就是静态分派。
  动态分派(Dynamic Dispatch),发生在运行时期,动态分派动态地置换掉某个方法。面向对象的语言用动态分派实现多态性。
  Java语言支持静态多分派和动态的单分派,利用设计模式Java可以实现Double Dispatch,即访问者模式。

二、Visitor Pattern
  目的:封装一些施加于某种数据结构元素之上的操作。
  UML图:
 
   主要原理:“反传球”,Element来Visitor之间二轮调用,调用过程中用sinlge dispatch确定类型


    

posted @ 2011-05-24 16:54 XXXXXX 阅读(1613) | 评论 (1)编辑 收藏

【转】性能测试指标的基本概念

     摘要:   阅读全文

posted @ 2011-05-21 15:04 XXXXXX 阅读(327) | 评论 (0)编辑 收藏

REST-表象化状态转变


记录关于REST的一些技术:

1、REST简介:http://zh.wikipedia.org/zh/REST
2、InfoQ 深入浅出REST:  http://www.infoq.com/cn/articles/rest-introduction

posted @ 2011-05-10 22:07 XXXXXX 阅读(309) | 评论 (0)编辑 收藏

【转】架构就是关注点分离

     摘要: 要设计良好的架构,必须做到关注点分离,这样可以产生高内聚、低耦合的系统,这是美丽架构的终极原则  阅读全文

posted @ 2011-05-10 22:02 XXXXXX 阅读(408) | 评论 (0)编辑 收藏

CyclicBarrier in Java

     摘要: A synchronization aid that allows a set of threads to all wait for each other to reach a common barrier point. CyclicBarriers are useful in programs involving a fixed sized party of threads that must occasionally wait for each other. The barrier is called cyclic because it can be re-used after the waiting threads are released.  阅读全文

posted @ 2011-05-07 15:35 XXXXXX 阅读(637) | 评论 (0)编辑 收藏

CountDownLatch in Java

     摘要: A java.util.concurrent.CountDownLatch is a concurrency construct that allows one or more threads to wait for a given set of operations to complete  阅读全文

posted @ 2011-05-07 15:10 XXXXXX 阅读(249) | 评论 (0)编辑 收藏

仅列出标题
共8页: 上一页 1 2 3 4 5 6 7 8 下一页