功能测试 性能测试 安全测试 质量管理 配置管理 测试管理 TD |QC|QTP|LR

PICT(用例生成工具)帮助

上一篇 / 下一篇  2008-06-14 14:32:21 / 天气: 阴雨 / 心情: 平静 / 个人分类:软件使用技巧

测试类型
  • 类别:功能测试

Overview

The Pairwise Independent Combinatorial Testing tool (PICT) can help you efficiently design test cases and test configurations for software systems. With PICT, you can generate tests that are more effective than manually generated tests and create them in a fraction of the time required by hands-on test case design. PICT generates a compact set of parameter value choices that represent the test cases you should use to get comprehensive combinatorial coverage of your parameters.51Testing软件测试网)Q']-]#b`x/[

 

b;j `8~3oM_0

Using PICT to Combine Test Case Parameters

PICT runs as a command line tool. You prepare a model file detailing the parameters of the interface (or set of configurations, or data) you want to test. PICT generates a compact set of parameter value choices that represent the test cases you should use to get comprehensive combinatorial coverage of your parameters.

]q H:Ps ^2A0

 

p{'{"R i0

For instance, if you wish to create a test suite for partition and volume creation, the domain can be described by the following parameters:Type,Size,File system,Format method,Cluster size, andCompression. Each parameter has a limited number of possible values, each of which is determined by its nature (for example,Compressioncan only beOnorOff) or as an equivalence partition (such asSize).51Testing软件测试网e&V(m,j4I7Jg:V

 51Testing软件测试网7kP)JC2A7Oq

 51Testing软件测试网.z(N rjMW N8vz

Running PICT

PICTisa command-line tool that accepts a plain-text model file as an input and outputs a set of test cases.51Testing软件测试网2] CS/J vP

 51Testing软件测试网4x;^*{t,ba A]

Usage:pictmodel [options]51Testing软件测试网Aic5z0HO%oR t

 

-ex)K_*y(Pb0

Options:51Testing软件测试网.j&X6q5i!S`

 /o:N   - Order of combinations (default: 2)

w3['Zh p0

 /d:C   - Separator for values (default: ,)51Testing软件测试网W B-q]%_q.m3W8F"oo

 /a:C   - Separator for aliases (default: |)51Testing软件测试网Dbk~p]l [#{o%[9J Ib

 /n:C   - Negative value prefix (default: ~)51Testing软件测试网Z&r ]c2]c Z9A

 /e:file- File with seeding rows51Testing软件测试网"w4{f.x8uG

 /r[:N] - Randomize generation, N - seed

$Pb~+@-gN0

 /c     - Case-sensitive model evaluation51Testing软件测试网ec8\ _X;d!Xci

 /s     - Show model statistics51Testing软件测试网&y:WZ dj5Q

The PICT installer adds PICT to the path, so you can run it from any folder on your system. To see the PICT output for the example in theprevious section, create themodel filewith any plain text editor, such as Windows® Notepad®, and run PICT with this command:51Testing软件测试网!Q7QA W[ EJ#V{5BN

C:\YourFolder>pictModelFile.txt

kQbP-[0

To create a tab-delimited output file, use command line output redirection.

'Ij m1gm9YNld/D0

C:\YourFolder>pictModelFile.txt > OutputFile.txt51Testing软件测试网hk'OY3y'{ |9NCX+q

You can use Microsoft® Excel® to sort or filterPICT’soutput. You either import the output file into Excel, or use an .xlsextension when you create the file and open it directly in Excel.

bT7I#F+]/Q1}0

C:\YourFolder>pictModelFile.txt > OutputFile.xls51Testing软件测试网6\ e&mPf er Y*\k
C:\YourFolder>OutputFile.xls

;H(jW:o,F0

 

S8p"eS7o5az0

TAG: 功能测试 用例设计

引用 删除 SophieLan   /   2009-04-29 23:18:09
あの問題は解決完了しました。
解決方法:スペースを削除したら,問題なしとなる。
ありがとうごさいました。
引用 删除 SophieLan   /   2009-04-29 22:45:19
sorry to ask you a question like this:
how can this tool generate japanese text file to test case?  Through my tests, it can't be generated from japnese test file.
    do you have any information about how the original text file should  be formated?Is that a rule?
    thank you
 

评分:0

我来说两句

Open Toolbar