当前位置:网站首页>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
边栏推荐
- Wechat official account solves the cache problem of entering from the customized menu
- Redis入门完整教程:HyperLogLog
- [ODX studio edit PDX] - 0.2-how to compare two pdx/odx files of compare
- Principle of lazy loading of pictures
- 【爬虫】数据提取之xpath
- 为什么信息图会帮助你的SEO
- The small program vant tab component solves the problem of too much text and incomplete display
- Redis入门完整教程:键管理
- [Taichi] change pbf2d (position based fluid simulation) of Taiji to pbf3d with minimal modification
- UML图记忆技巧
猜你喜欢
Redis introduction complete tutorial: client communication protocol
一次edu证书站的挖掘
Tweenmax emoticon button JS special effect
JS card style countdown days
Docker镜像的缓存特性和Dockerfile
【机器学习】手写数字识别
Redis getting started complete tutorial: publish and subscribe
Redis getting started complete tutorial: Key Management
vim编辑器知识总结
JS 3D explosive fragment image switching JS special effect
随机推荐
Sword finger offer 65 Add without adding, subtracting, multiplying, dividing
Advantages of Alibaba cloud international CDN
【机器学习】手写数字识别
一次edu证书站的挖掘
HMS core machine learning service
Analysis of the self increasing and self decreasing of C language function parameters
Redis introduction complete tutorial: client communication protocol
Redis入门完整教程:初识Redis
Redis入门完整教程:哈希说明
A complete tutorial for getting started with redis: understanding and using APIs
【二叉树】节点与其祖先之间的最大差值
Redis入门完整教程:集合详解
Google Earth engine (GEE) -- take modis/006/mcd19a2 as an example to batch download the daily mean, maximum, minimum, standard deviation, statistical analysis of variance and CSV download of daily AOD
phpcms付费阅读功能支付宝支付
微信公众号解决从自定义菜单进入的缓存问题
高通WLAN框架学习(30)-- 支持双STA的组件
Redis introduction complete tutorial: detailed explanation of ordered collection
Header file duplicate definition problem solving "c1014 error“
Redis入门完整教程:客户端通信协议
MP进阶操作: 时间操作, sql,querywapper,lambdaQueryWapper(条件构造器)快速筛选 枚举类