进一步的思考 我们不能期望程序总是正确运行! 精心开发的程序 5 faults/1000 Loc 5000 faults/1M LOc Windows xP: 45M LOC 45×5000=225,000 faults
+ 进一步的思考 ▪我们不能期望程序总是正确运行! ▪精心开发的程序 ▪ 5 faults/1000 LOC ▪ 5000 faults/1M LOC ▪ Windows XP: 45M LOC ▪ 45 × 5000=225,000 faults
进一步的思考 如何发现错误? 测试!
+ 进一步的思考 ▪我们不能期望程序总是正确运行! ▪精心开发的程序 ▪ 5 faults/1000 LOC ▪ 5000 faults/1M LOC ▪ Windows XP: 45M LOC ▪ 45 × 5000=225,000 faults 如何发现错误? 测试!
什么是软件测试? Software Testing is the process of executing a program or system with the intent of finding errors 3)5 The Art of Software Testing by G. Myers
+ 什么是软件测试? ◼“Software Testing is the process of executing a program or system with the intent of finding errors. ” ---“The Art of Software Testing” ◼ by G.J.Myers
Software to be tested
+ Software to be tested
Test case generation est case Software to be tested verification Output
+ Software to be tested Output Test Case verification Test case generation