当前位置:网站首页>Pict generate orthogonal test cases tutorial
Pict generate orthogonal test cases tutorial
2022-07-04 23:11:00 【Wu_ Candy】
Share the theme today : How to use PICT Quickly generate orthogonal test cases .
PICT brief introduction
- PICT Full name Pairwise Independent Combinatorial Testing tool, It is a pair test case generation tool developed by Microsoft , Now it's available to the public , You can download the installation package on the Internet .
- PICT It can effectively follow the principle of "two tests" , Design test cases . In the use of PICT when , All parameters related to the test case need to be entered , To achieve full coverage .
PICT Usage method
- download PICT Installation package ( The test resource sharing article has been placed in the online disk link )
- Prepare the model file testModel.txt
- take testModel.txt Model files placed in PICT Under the table of contents
- dos The window executes commands to generate test cases
Model file testModel.txt Content
notes : Punctuation marks are in English
PLATFORM: x86, ia64, amd64
CPUS: Single, Dual, Quad
RAM: 128MB, 1GB, 4GB, 64GB
HDD: SCSI, IDE
OS: NT4, Win2K, WinXP, Win2K3
IE: "4.0", "5.0", "5.5", "6.0"
APP: SQLServer, Exchange, Office
{ PLATFORM, CPUS, RAM, HDD } @ 1
{ OS, IE } @ 2
[APP]="Office";
IF [RAM]="64GB" THEN [HDD]="IDE" AND [IE]="4.0";
IF [IE] in {"4.0","5.0"} THEN [RAM] in {"1GB", "4GB"};
IF [PLATFORM] in {"ia64", "amd64"} THEN [OS] in {"WinXP", "Win2K3"};
The model file consists of three parts , As shown in the figure below
The rules between the three parts :
- Not exchangeable ,
- Do not overlap
- No separator is required between parts
- Allow blank lines
- Allowed to pass through “#” Add notes
cmd Command to generate test cases
(1). Carry out orders
Get into doc Under window pict Under the table of contents , Carry out orders :pict testModel.txt
D:\your_pict_directory> pict testModel.txt
(2). Execution effect ( Here testModel.txt File is pict_test_case.txt)
(3). Execute result output redirection
Redirect output to txt In the text
D:\your_pict_directory> pict testModel.txt> OutputFile.txt
Redirect output to excel In file
D:\your_pict_directory> pict testModel.txt> OutputFile.xls
dos Open the redirected... Directly in the window excel file
D:\your_pict_directory>OutputFile.xls
excel Open the rendering as follows :
end
边栏推荐
- PICT 生成正交测试用例教程
- The small program vant tab component solves the problem of too much text and incomplete display
- Qt加法计算器(简单案例)
- How to choose a securities company? Is it safe to open an account on your mobile phone
- 云服务器设置ssh密钥登录
- Sword finger offer 65 Add without adding, subtracting, multiplying, dividing
- Redis: redis transactions
- qt绘制网络拓补图(连接数据库,递归函数,无限绘制,可拖动节点)
- Qt个人学习总结
- Duplicate ADMAS part name
猜你喜欢
colResizable. JS auto adjust table width plug-in
Redis入门完整教程:列表讲解
Duplicate ADMAS part name
实战模拟│JWT 登录认证
debug和release的区别
【机器学习】手写数字识别
vim编辑器知识总结
Attack and defense world misc master advanced zone 001 normal_ png
Redis入门完整教程:HyperLogLog
A complete tutorial for getting started with redis: getting to know redis for the first time
随机推荐
微信小程序显示样式知识点总结
Redis getting started complete tutorial: Key Management
Redis入门完整教程:API的理解和使用
[machine learning] handwritten digit recognition
Redis: redis message publishing and subscription (understand)
cout/cerr/clog的区别
Feature scaling normalization
机器学习在房屋价格预测上的应用
ECS settings SSH key login
A complete tutorial for getting started with redis: redis usage scenarios
[Jianzhi offer] 6-10 questions
Redis入门完整教程:GEO
Attack and defense world misc master advanced zone 001 normal_ png
A complete tutorial for getting started with redis: transactions and Lua
Qt加法计算器(简单案例)
JS card style countdown days
【剑指offer】1-5题
How to choose a securities company? Is it safe to open an account on your mobile phone
One of the commonly used technical indicators, reading boll Bollinger line indicators
Google collab trample pit