Testability: not just for testers

Software is everywhere.  It is in my gas pump, my phone, and even my audio receiver.  The increase in complexity and interconnectedness make software testing even harder, and testers yearn for better testability.

Testability is being able to observe and control the software we are testing.

Although it is essential to test as the customer will experience it, for complex software it helps to have additional control and observability.

Observability helps make problems more noticeable, and can point to the root cause.

Control helps simulate situations that may be difficult to test in the system.

Dave Catlett developed the SOCK model of testability, which is a cool mnemonic for attributes of a testability interface:

S – Simplicity
O – Observability
C – Control
K – Knowledge of expected results

The two most essential of these are observability and control, since at least one of those is required in order to have testability.

But testability isn’t just for testers.

At Microsoft, most groups have a triad of disciplines:

PM – Program Managers
SDE – Developers (Software Development Engineers)
SDET – Testers (Software Development Engineers in Test)

And it shouldn’t only be the testers that care about testability.

For PM’s, building interfaces that allow customers and 3rd party developers to create solutions that extend the product helps make for a better overall system.  Instead of talking to PM’s about testability, emphasize programmability, extensibility, and the ability to diagnose customer issue.

For developers (SDE’s), better logging, diagnosis, and debugging allows bugs to be less mysterious, more reproducible, and easier to fix.  Developers usually have a good understanding of the code architecture, including components that are well encapsulated and with clean interfaces.  These encapsulated components are an excellent spot to look for testability interfaces.

For testers (SDET’s), the testability interfaces help find bugs that would be otherwise hard to discover.

Testers should push for testability not only for their own benefit, but for the long-term product benefits.  Testability isn’t just for testers.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11379785/viewspace-675924/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/11379785/viewspace-675924/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值