当前位置:网站首页>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
边栏推荐
- Advantages of Alibaba cloud international CDN
- Feature scaling normalization
- Pagoda 7.9.2 pagoda control panel bypasses mobile phone binding authentication bypasses official authentication
- phpcms付费阅读功能支付宝支付
- Redis getting started complete tutorial: Geo
- 刷题指南-public
- 【ODX Studio编辑PDX】-0.3-如何删除/修改Variant变体中继承的(Inherited)元素
- 小程序vant tab组件解决文字过多显示不全的问题
- Redis入门完整教程:键管理
- Advanced area a of attack and defense world misc Masters_ good_ idea
猜你喜欢
C语言快速解决反转链表
Redis入门完整教程:初识Redis
[machine learning] handwritten digit recognition
cout/cerr/clog的区别
Actual combat simulation │ JWT login authentication
JS card style countdown days
SHP data making 3dfiles white film
Redis introduction complete tutorial: detailed explanation of ordered collection
Redis入门完整教程:Redis Shell
A complete tutorial for getting started with redis: Pipeline
随机推荐
Excel 快捷键-随时补充
Redis démarrer le tutoriel complet: Pipeline
The solution to the lack of pcntl extension under MAMP, fatal error: call to undefined function pcntl_ signal()
CTF竞赛题解之stm32逆向入门
Advanced area a of attack and defense world misc Masters_ good_ idea
S32 Design Studio for ARM 2.2 快速入门
刷题指南-public
Qt加法计算器(简单案例)
One of the commonly used technical indicators, reading boll Bollinger line indicators
Redis入门完整教程:慢查询分析
phpcms付费阅读功能支付宝支付
Redis introduction complete tutorial: slow query analysis
推荐收藏:跨云数据仓库(data warehouse)环境搭建,这货特别干!
UML图记忆技巧
Redis入门完整教程:HyperLogLog
Redis:Redis的事务
JS card style countdown days
The difference between debug and release
Redis getting started complete tutorial: hash description
Notepad++ -- editing skills