Challenge: Requirements changes
Response:
1. 最好的降低的风险的方法是能够得到通知,在写case之前,或是每个项目状态会议,找出改变的需求引起风险最大的地方,找出那些case受到影响,哪些不会,险些不受变更影响的case。
2. 制定variables or "to be decided"的case目录,以后继续填写。
3. 让制定预算的人知道修订case的成本。
4. 项目管理制定case修订的优先级。
5. 发布不太正确的没有修订的case。让测试人员标出那些需要修改的case,制定计划的时候要考虑测试加维护的时间。
Challenge: Schedule changes
Response:
1. 如果测试日期提前,让项目管理人员讨论出那些case受到影响,如同需求改变一样,让他们选择哪些方面可以冒险。
2. 如果时间允许有1到2个星期培训新人并能进入项目中,可以添加人手,最好有导师可以指导他们工作。
3. 改变写case的次序,优先写最先要测试的case。
4. 把case简化成被测的需求和配置。制定多一些的时间测试这样的case。
5. 让一些人先测试,然后记录测试的过程。
Challenge: Staff turnover
Response:
1. 新员工需要了解有文字记录的项目架构,进度,目标等,口头上的一些信息就丢失了。
2. 新员工更多是关注软件的业务使用,然后才是需求和原型,写出的case较少。
3. 要对新员工进行实用的培训,组好有实践的例子,并在早期对他们的工作进行检查。
4. 让新员工参与需要较高技术的case。
Test Case Checklist
Quality Attributes
oAccurate - tests what the descrīption says it will test.
oEconomical - has only the steps needed for its purpose
oRepeatable, self standing - same results no matter who tests it.
oAppropriate - for both immediate and future testers
oTraceable - to a requirement
oSelf cleaning - returns the test environment to clean state
Structure and testability
oHas a name and number
oHas a stated purpose that includes what requirement is being tested
oHas a descrīption of the method of testing
oSpecifies setup information - environment, data, prerequisite tests, security access
oHas actions and expected results
oStates if any proofs, such as reports or screen grabs, need to be saved
oLeaves the testing environment clean
oUses active case language
oDoes not exceed 15 steps
oMatrix does not take longer than 20 minutes to test
oAutomated scrīpt is commented with purpose, inputs, expected results
oSetup offers alternative to prerequisite tests, if possible
oIs in correct business scenario order with other tests
Configuration management
oEmploys naming and numbering conventions
oSaved in specified formats, file types
oIs versioned to match software under test
oIncludes test objects needed by the case, such as databases
oStored as read
oStored with controlled access
oStored where network backup operates
oArchived off-site