Multi是Brian Marick写的一个小程序,用于为表达式自动产生测试用例(或者叫“test ideas”)。
Multi - Generating test ideas from expressions with booleans and relational operators
A test idea is a brief statement of something that should be tested. For example, if you're testing a square root function, one idea for a test would be "test a number less than zero". The idea is to check if the code handles an error case.
关于这个测试用例设计辅助小工具的基本原理和来源可参考《Testing for Programmers》 :
http://www.exampler.com/testing-com/writings/half-day-programmer.pdf
下面是使用这个小程序的一个例子:
% multi
Type in an expression.
'q' to quit.
> a && b < c
Test ideas for (a && (b<c)):
a (b<c)
----- ------------
true b barely < c
FALSE true
true b==c
> q
Multi是用java写的小工具,运行需要java支持,安装和运行的方法如下:
- Fetch either the tar archive or the zip archive. Extract the files.
- You'll see two jar files: Multi.jar and Trace.jar. Put those in your CLASSPATH.
- Run the program with java com.testing.multi.Multi (The multi script will save you typing.)
下载地址:
http://www.exampler.com/testing-com/tools/multi/Multi.zip
Multi是一款由Brian Marick开发的小程序,能够自动为含有布尔和关系运算符的表达式生成测试用例想法。例如,对于逻辑表达式(a&&b<c),它能提出多种测试场景,确保代码可以正确处理各种边界条件。
3189

被折叠的 条评论
为什么被折叠?



