H*M 发帖数: 1268 | 1 之前在一些书上看到总结的,不同case, 不同应用,但是套路都差不多
或许会有用.
Black box testing: testing software without the knowledge of the back-end
White box testing: has knowledge of the back-end;
Unit testing: testing a particular part;
Integration testing: test more parts of the product as a whole;
Functional testing: verify the module functions as stated and make sure a
program does what it is supposed to do;
Regression testing: test the system with the intent of determining if bug
fixes have been successful and have not | r****o 发帖数: 1950 | 2 多谢题神。
end
【在 H*M 的大作中提到】 : 之前在一些书上看到总结的,不同case, 不同应用,但是套路都差不多 : 或许会有用. : Black box testing: testing software without the knowledge of the back-end : White box testing: has knowledge of the back-end; : Unit testing: testing a particular part; : Integration testing: test more parts of the product as a whole; : Functional testing: verify the module functions as stated and make sure a : program does what it is supposed to do; : Regression testing: test the system with the intent of determining if bug : fixes have been successful and have not
| m******9 发帖数: 968 | 3 哇,多谢, 这是哪本书呀? 我记得以前修过的软件工程这个课里面提到过这些方法.
谢了,接包子 | H*M 发帖数: 1268 | 4 是在哪里看到的,可是找不到那书了
【在 m******9 的大作中提到】 : 哇,多谢, 这是哪本书呀? 我记得以前修过的软件工程这个课里面提到过这些方法. : 谢了,接包子
| m******9 发帖数: 968 | 5 我想了一下, 这些测试方法, 在软件工程这种课程中确实详细的提到过了. 不过我有一
个困惑就是, 这些方法都比较high level. 很多测试方法都针对比较大型的软件. 如
果我想测试的只是一个小玩意.
比如, 我要测试strstr函数的功能. 我现在能想到的就是测试一些special case, 和一
些边界条件.
测试atoi, 就测试溢出,还有错误的输入,etc
这些套路有时在测试一些具体的function的时候,不是很容易套用. | c******f 发帖数: 2144 | 6 Regression testing: test the system with the intent of determining if bug
fixes have been successful and have not created new bugs;
Load test: test with intent of determining how well the product handles
competition for system resources;
stress test: test when the system is pushed beyond the breaking point;
Performance test: how efficiently a product handles a variety of events | g*******y 发帖数: 1930 | | s***i 发帖数: 10182 | |
|