软件测试
testing overview
standard define
a process of analyzing a software item to detect the differences between existing and required conditions( that is defect /errors/bugs...) and to evaluate the features of the software item.
deffrence between software item and software
动态执行《==》静态分析
item将狭义的 动态执行代码,扩展到 软件开发的任何产品
what is defect
defect~=bug
- fault故障: occurs in the process of writing a program.
- error错误: is the manifestation of one or more faults (internal state )
如果程序未执行,就是fault,如果被执行到了就是error - failure失效/
- incident事故
software defect definition
- all kind of software problems
- exist in code, data and documents
- out of accord with user expection
who does testing ?
- software tester
- software developer:unit testing
- project lead/manager
- end user
crowdsourcing testing (众包测试) 《-》外包,类似
特点:
- 成本小,多样性,
- 测试方案多种多样
when to start testing
the earlier ,the better
when to end testing
testing is a never ending process (在软件生命周期内)
some aspects
- testing deadlines
- management decision
结束测试原因的分类:
- completion of test case execution
- completion of functional and code coverage to certain point
- bug rate falls velow a certion level and no high priority bugs are identified
PDCA:
P
D
C
A