how to become a testing expert

33
How to Become A Testing Expert Liang Gao

Upload: gaoliang641

Post on 16-Dec-2014

147 views

Category:

Technology


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: How to become a testing expert

How to Become A Testing Expert Liang Gao

Page 2: How to become a testing expert

Typical Interview Question

• Do you know programming• Answer: Yes, a little• Which language do you know the best• Answer: I know C a little• How many lines of code have you written• Answer : Umm.., about 300 lines• Do you know Java or .NET, • Answer : No• Do you know Linux• Answer : No• Do you know networking• Answer : I installed Windows XP on my PC….• Ok, you can work for us as testing engineer

Page 3: How to become a testing expert

Tester’s Dilemma

• Testing is not cool• Tester is second class when compared with

developer• Developer using me as servant• I don’t see I can make difference in our

company• Testers are keep coming, they are young and

better than me. • 我在吃青春饭, I don’t know where my career

path is• OK , I need to be a developer and write

code!

Page 4: How to become a testing expert

Top Management's Dilemma

你也知道, 现在招到好的测试工程师是有多难 - 华为北京研究所副所长 2008

It took Juniper 6 month plus to find a new QA director

Page 5: How to become a testing expert

Career Story of Ting

• Graduate at 1990, only job found is the tester at Sun

• Join Cisco as tester in 1993, then test automation engineer (design Cisco’s automation framework)

• Cisco grows from 2000 to 40000 from 1993 to 1998

• Join Netscreen as the 1st testing engineer at 1998• NetScreen went to Nasdaq on 2001• Grow with NetScreen as testing lead, testing

manager, testing senior manager and testing director

• Found Sigma at 2004, served as CEO as today

Page 6: How to become a testing expert

Lesson

• You may have to stay long enough to be competitive.

Page 7: How to become a testing expert

What is a testing expert?

• Ability to find critical bugs in given time frame (hot gun)

• Ability to build a comprehensive testing strategy in given time frame (expert)

• Ability to manage the release process (top expert)

Page 8: How to become a testing expert

What is a testing expert Looks like?

• Play the video of James Bach

Page 9: How to become a testing expert

Find Bug that could make News

Page 10: How to become a testing expert

Bugs in the News

• A Cisco Secure Access Control Server (ACS) that is configured to use Extensible Authentication Protocol-Transport Layer Security (EAP-TLS) to authenticate users to the network will allow access to any user that uses a cryptographically correct certificate which can be expired, or come from an untrusted Certificate Authority (CA) and still be cryptographically correct.

• CSCse58195. The WLC contains a bug when processing WLAN ACLs that causes the WLANvACL configuration to be saved with an invalid checksum. When the configuration is subsequently reloaded at boot time, the checksum fails and the WLAN ACLs are not installed. 

Page 11: How to become a testing expert

Bugs in the News

• CSCdv24925 It is possible to read stored configuration file from the Storage Router without any authorization.

• CSCdu45417 It is possible to halt the Storage Router by sending a fragmented packet over the Gigabit interface.

• CSCdv24925 An unauthorized person may read the configuration of the Storage Router. That may lead to unauthorized access of a storage space.

Page 12: How to become a testing expert

Bugs in the News

• Versions of the Cisco ACE 4710 Application Control Engine appliance prior to software version A1(8a) use default administrator, web management, and device management account credentials. The appliance and module do not prompt users to modify system account passwords during the initial configurationprocess.

• Crafted SSH Packet Vulnerability • Crafted SNMPv2c Packet Vulnerability

Page 13: How to become a testing expert

2 Factors of a hot gun

• Technical Expertise• Thinking methodology

Page 14: How to become a testing expert

Hot Gun’s Bug Percentage

P4

P2

P1

P3

Cosmetic

Functionality

Major Functionality

Critical Functionality, Crash, Hang

10%

30%

40%

20%

Page 15: How to become a testing expert

Thinking Methodology

Page 16: How to become a testing expert

Thinking Methodology

• Customers• Information• Developer

revelations• Team• Equipment

& Tools• Schedule• Test Items• Deliverable

s

Structures Functions

Data

Platform

Operation

Time

Capability

Reliability

Usability

Security

Scalability

Performance

Installability

Compatiabilty

Supportability

Testabilty

Measurability

Portability

Localizations

Function testing

Domain testing

Stress testing

Flow testing

Scenario testing

Claims testing

User testing

Automatic testing

Page 17: How to become a testing expert

Thinking Methodology

• Customers• 客服• 售前• 售后• 市场

Page 18: How to become a testing expert

Thinking Methodology

发布

升级 / 安装

配置

入网

运营

维护

发布流程测试

Installation/Upgrade 测试 HA

你知道客户典型配置么?你知道客户跑什么业务?你知道客户跑什么业务?

你知道客户典型应用场景么?

客户 1-2 年运营的可能遇到情况

可维护性测试

兼容性?

Page 19: How to become a testing expert

Thinking Methodology

Negative Stress Boundary Features Interaction

Security

Feature Point 1

Feature Point 2

Feature Point 3

Feature Point 4

Feature Point 5

Page 20: How to become a testing expert

Develop Testing Strategy

• Be the review person• 知其然也知其所以然

Page 21: How to become a testing expert

Develop Testing Strategy

• What is your goal first?– Find more bugs?– Find more critical bugs?– Ensure product or feature has no critical

defects– Ensure customers will be ok after the release?

• The strategy– Bug oriented?– Coverage oriented?– Customer oriented?

Page 22: How to become a testing expert

What is Coverage Strategy?

• How to thoroughly test OSPF Hello protocol?

– Function points? (tester)– User Scenarios? (test expert)– Scalability? (test expert)– Performance?– Security? (test expert)– ………

Page 23: How to become a testing expert

What is Coverage Strategy?

• 7 platforms• 6 different line cards• 2 modes (main/aggressive)• AH/ESP• CA/No CA• HA/No HA• Hub Spoke/Partial Mesh/Full Mesh

7x6x2x2x2x3 = 1088

Page 24: How to become a testing expert

Types of Testing Covered on Different Release

Major Release

Minor Release

Patch Release

Platform Release

SFR CSP

New Feature Test Full Full TBD Full

Regression Test Full Partial Partial Partial Partial

System Test Full Full Full Full

Interoperability Test Full TBD TBD TBD

Performance Test Full TBD Full TBD

Capacity Test Full Full TBD

Security Test Full Full Full Full Full

Automation Test(partial regression)

Full Full Full Full Full Full

SFR – Special Feature Release CSP – Customer Specific Patch

Page 25: How to become a testing expert

Advise to the New Expert

• Practice, Practice, Practice• Don’t confuse experience with Expertise• Don’t trust the folklore – but learn it anyway• Take nothing on faith, own your methodology• Drive your own education, no one else will• Reputation = Money: Build and protect your

reputation• Relentlessly gather resources, materials and

tools. • Associate with demanding colleagues. • Write, speak

Page 26: How to become a testing expert

An Expert’s Vision

• An Expert’s Vision– I can test anything– Under any condition– On any given time frame.

Page 27: How to become a testing expert

An Expert’s Vision

Page 28: How to become a testing expert

Top Expert

• Release process• Testing organization management

Page 29: How to become a testing expert

Release process

Page 30: How to become a testing expert

Release Process

• Start from the MRD• End with the FCS (first customer ship)

Page 31: How to become a testing expert

敏捷开发与持续集成 – 迭代中的持续集成

Page 32: How to become a testing expert

Test Organization management

Page 33: How to become a testing expert

Thank you!