pixabay https://cdn.pixabay.com/photo/2018/03/19/09/25/feedback-3239454_960_720.jpg ##### PICT 사용 이유 API 테스트 특히 API 자동화 테스트에서 가장 어려운 부분이 바로 그 수많은 파라미터를 골고루 체크해 보는 것이다. 파라미터의 정상적인 값, 비정상적인 값을 수동으로 조합하기에 시간과 비용이 많이 소모된다. 예를 들어 파라미터가 name, phone,email 세개가 있고 각각의 테스트케이스가 세 개씩 있다고 가정하면 테스트 케이스는 총 27개가 된다. | name | phone | email | |---|---|---| | 한글명 | 01000001111 | test@nts-corp.com | | 中文名 | +82 1000001111 | test@aaa | Englishi | 010-0000-1111 | test@gmail.com API는 파라미터가 많게는 30개가 넘는데, 이를 수동으로 조합하기에는 케이스가 기하급수적으로 많아지는 한계가 있어 Pairwise 기법은 필수다. MS의 PICT는 최소한의 조합으로 최적의 효과를 낼 수 있게 만들어진 Pairwise 툴이다. > Pairwise : 대부분의 결함이 2개 요소의 상호작용에 기인한다는 점에 착안하여 각 요소가 최소한 한 번씩 조합을 이루게 하고, 이렇게 조합된 값을 바탕으로 테스트를 수행하는 기법 ##### PICT 설치 및 사용 http://www.pairwise.org/tools.asp 에서 PICT 설치 파일(.msi) 다운 및 설치 위의 예로 txt 파일에 케이스를 작성한다. - '파라미터명: 값, 값, 값' 형식으로 작성하고 새로운 파라미터는 줄바꿈 해서 동일한 방식으로 작성한다. - cmd 창에서 'pict 텍스트파일.txt > 조합한파일.xls' 입력하여 xls 파일을 추출하면 가장 최적화된 조합 11개가 추출된다. - cmd 창에서 에러 뜨면 조합 실패다. 참고로 파일 경로에 한글이 있으면 에러 발생할 수 있으니 경로는 영어로 통일한다. ![](https://cdn.steemitimages.com/DQmZo4ABHfpJQWBapYd37sY2ZGUGG7HRQrNkjhFeDNcndTf/image.png) 이 최적의 조합으로 API 자동화 테스트에 TC를 제공하면 시간과 비용이 많이 향상된다. 그 외 IF, THEN 과 같은 명령어로 더 상세한 조합을 만들 수 있다. . . . . [Cookie ] https://github.com/microsoft/pict
post_id | 86,468,827 |
---|---|
author | june0620 |
permlink | it-pairwise-ms-pict |
category | hive-101145 |
json_metadata | {"tags":["kr","mini","zzan","dblog","sct-kr","sct-freeboard","automation","sct"],"image":["https:\/\/cdn.pixabay.com\/photo\/2018\/03\/19\/09\/25\/feedback-3239454_960_720.jpg","https:\/\/cdn.steemitimages.com\/DQmZo4ABHfpJQWBapYd37sY2ZGUGG7HRQrNkjhFeDNcndTf\/image.png"],"app":"steemcoinpan\/0.1","format":"markdown","canonical_url":"https:\/\/www.steemcoinpan.com\/@june0620\/it-pairwise-ms-pict","links":["http:\/\/www.pairwise.org\/tools.asp","https:\/\/github.com\/microsoft\/pict"]} |
created | 2020-06-25 12:49:03 |
last_update | 2020-06-25 13:02:18 |
depth | 0 |
children | 6 |
net_rshares | 24,512,573,963,285 |
last_payout | 2020-07-02 12:49:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 8.950 SBD |
curator_payout_value | 8.367 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 1,278 |
author_reputation | 219,336,602,045,061 |
root_title | "[IT] Pairwise 테스트는 MS PICT 로 조합하자~" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
glitterfart | 0 | 441,604,083,716 | 2.47% | ||
justyy | 0 | 7,203,872,830,926 | 34.68% | ||
jack8831 | 0 | 25,017,380,479 | 25% | ||
happyukgo | 0 | 4,637,074,439 | 34.68% | ||
allsale | 0 | 372,318,798,090 | 18% | ||
virus707 | 0 | 1,402,205,532,919 | 4% | ||
doraemon | 0 | 310,769,396 | 100% | ||
robinlee | 0 | 149,963,004 | 34.68% | ||
pixelfan | 0 | 11,923,497,483 | 2.15% | ||
ilovemylife | 0 | 260,125,721,441 | 11% | ||
imdazu | 0 | 485,339,774 | 100% | ||
rainyapril | 0 | 154,661,543 | 34.68% | ||
kangnajiang | 0 | 36,893,994 | 34.68% | ||
kikima | 0 | 219,068,462 | 34.68% | ||
geass | 0 | 180,214,350 | 34.68% | ||
karja | 0 | 57,789,728,121 | 3% | ||
tipu | 0 | 5,722,159,712,190 | 7% | ||
accelerator | 0 | 25,631,023,287 | 6% | ||
june0620 | 0 | 239,804,830,861 | 100% | ||
superbing | 0 | 1,412,169,086 | 34.68% | ||
dailyfortune | 0 | 1,168,365,894 | 34.68% | ||
dailystats | 0 | 1,832,847,302 | 34.68% | ||
miti | 0 | 115,867,882 | 7% | ||
harryab | 0 | 21,318,355,899 | 100% | ||
jianan | 0 | 12,242,407,246 | 34.68% | ||
cnbuddy | 0 | 1,630,024,086 | 0.1% | ||
daxiang | 0 | 44,999,232 | 34.68% | ||
anxin | 0 | 881,792,834 | 34.68% | ||
seraphim502 | 0 | 12,863,049,685 | 100% | ||
mehta | 0 | 318,566,234,682 | 40% | ||
bji1203 | 0 | 392,079,078,248 | 100% | ||
udabeu | 0 | 8,667,095,955 | 30% | ||
nean | 0 | 151,529,739 | 34.68% | ||
woolfe19861008 | 0 | 757,410,202 | 34.68% | ||
dailychina | 0 | 2,176,697,334 | 34.68% | ||
vincenthan | 0 | 156,986,655 | 34.68% | ||
yuxuan | 0 | 51,763,443 | 34.68% | ||
dongfengman | 0 | 3,942,423,786 | 34.68% | ||
serenazz | 0 | 363,824,835 | 34.68% | ||
yedda | 0 | 151,263,645 | 34.68% | ||
zasilla | 0 | 152,838,431 | 34.68% | ||
also.einstein | 0 | 7,059,455,735 | 100% | ||
aaronstar | 0 | 0 | 34.68% | ||
ethanlee | 0 | 1,636,976,852 | 34.68% | ||
twinsnicole | 0 | 153,554,530 | 34.68% | ||
deepthinking | 0 | 154,582,611 | 34.68% | ||
dhingvimal | 0 | 2,331,812,763 | 40% | ||
fanso | 0 | 488,811,098 | 34.68% | ||
lucky2015 | 0 | 217,817,122,860 | 30% | ||
lilypang22 | 0 | 431,749,626 | 34.68% | ||
yuting | 0 | 0 | 34.68% | ||
kgakakillerg | 0 | 7,011,699,606 | 7% | ||
payroll | 0 | 7,442,764,340 | 2% | ||
zens | 0 | 153,044,710 | 34.68% | ||
andrewma | 0 | 1,593,125,493 | 6.93% | ||
steemitvip | 0 | 151,765,846 | 34.68% | ||
regals | 0 | 152,474,458 | 34.68% | ||
joelone | 0 | 152,836,656 | 34.68% | ||
sweet-jenny8 | 0 | 7,607,970,919 | 34.68% | ||
ravenkim | 0 | 14,761,997,087 | 100% | ||
digital.mine | 0 | 117,061,595,981 | 1% | ||
newsnownorthwest | 0 | 2,038,875,766 | 55% | ||
weicomenew | 0 | 132,389,999 | 34.68% | ||
laiyuehta | 0 | 1,591,495,144 | 34.68% | ||
turtlegraphics | 0 | 846,515,620 | 34.68% | ||
pet.society | 0 | 20,691,542,836 | 5% | ||
witnesstools | 0 | 2,441,431,622 | 34.68% | ||
ilovecoding | 0 | 2,300,708,755 | 34.68% | ||
nineteensixteen | 0 | 19,877,025,849 | 100% | ||
steemfuckeos | 0 | 1,114,257,351 | 34.68% | ||
sindong | 0 | 156,942,096,787 | 24% | ||
bluesniper | 0 | 31,108,209,687 | 75% | ||
sklara | 0 | 73,596,064,045 | 40% | ||
holydog | 0 | 80,068,141 | 37% | ||
minigame | 0 | 6,613,431,347,941 | 24.6% | ||
kr-fund | 0 | 3,641,915,693 | 25% | ||
zzan.co3 | 0 | 575,971,248 | 100% | ||
cplusplus | 0 | 2,291,544,938 | 34.68% | ||
justsoso | 0 | 564,019,785 | 34.68% | ||
sct1004 | 0 | 3,786,797,072 | 100% | ||
tokenindustry | 0 | 1,633,282,762 | 45% | ||
sct.krwp | 0 | 393,884,251,198 | 0.66% | ||
maxuvd | 0 | 5,651,558,751 | 5.6% | ||
maxuve | 0 | 23,063,633,406 | 5.6% | ||
longhash | 0 | 502,650,486 | 34.68% | ||
cnfish | 0 | 0 | 34.68% | ||
bcm | 0 | 76,782,546,119 | 3.25% | ||
sct.curator | 0 | 19,905,959,830 | 23.25% | ||
cnbuddy-reward | 0 | 175,039,576 | 0.05% | ||
bcm.dblog | 0 | 131,366,886 | 3.9% | ||
bcm.zzan | 0 | 0 | 3.9% | ||
wongshiylng | 0 | 0 | 34.68% | ||
wilhb82 | 0 | 0 | 34.68% | ||
leodec | 0 | 0 | 34.68% | ||
sexybeach | 0 | 2,289,151,941 | 34.68% | ||
suckmydick | 0 | 1,108,445,377 | 34.68% | ||
chromebook | 0 | 1,112,769,319 | 34.68% | ||
ericandryan | 0 | 3,992,354,264 | 34.68% | ||
dev.supporters | 0 | 108,353,421,775 | 10% | ||
justyy222 | 0 | 1,103,621,189 | 34.68% | ||
krwp.abc | 0 | 0 | 0.4% | ||
oksana-toporova | 0 | 314,140,380 | 100% |
@tipu curate 2
post_id | 86,468,856 |
---|---|
author | ravenkim |
permlink | qchfsh |
category | hive-101145 |
json_metadata | {"users":["tipu"],"app":"steemit\/0.2"} |
created | 2020-06-25 12:53:09 |
last_update | 2020-06-25 12:53:09 |
depth | 1 |
children | 3 |
net_rshares | 0 |
last_payout | 2020-07-02 12:53:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 14 |
author_reputation | 244,843,674,682,222 |
root_title | "[IT] Pairwise 테스트는 MS PICT 로 조합하자~" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
<a href="https://tipu.online/curator?ravenkim" target="_blank">Upvoted 👌</a> (Mana: 0/20) @swap.app - <a href="https://steemit.com/steem/@swap.app/swap-app-quick-steem-sbd-swaps" target="_blank">quick steem <-> sbd swaps</a>
post_id | 86,468,857 |
---|---|
author | tipu |
permlink | re-qchfsh-20200625t125321 |
category | hive-101145 |
json_metadata | {} |
created | 2020-06-25 12:53:21 |
last_update | 2020-06-25 12:53:21 |
depth | 2 |
children | 0 |
net_rshares | 0 |
last_payout | 2020-07-02 12:53:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 233 |
author_reputation | 55,804,171,747,699 |
root_title | "[IT] Pairwise 테스트는 MS PICT 로 조합하자~" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
앗~ tipu 감사합니다^^ 행복한 밤 보내세요~ !shop
post_id | 86,468,992 |
---|---|
author | june0620 |
permlink | re-ravenkim-qchggu |
category | hive-101145 |
json_metadata | {"tags":["hive-101145"],"app":"steempeak\/2020.06.1"} |
created | 2020-06-25 13:07:39 |
last_update | 2020-06-25 13:07:39 |
depth | 2 |
children | 0 |
net_rshares | 0 |
last_payout | 2020-07-02 13:07:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 35 |
author_reputation | 219,336,602,045,061 |
root_title | "[IT] Pairwise 테스트는 MS PICT 로 조합하자~" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
你好鸭,ravenkim! @june0620给您叫了一份外卖! **烧烤** <br> ![](https://ipfs.busy.org/ipfs/Qmbv9p4Xa3sSNwcdnhT83ubjTXW9tctEdSw4nZ6qatxRdh) 吃饱了吗?跟我猜拳吧! **石头,剪刀,布~** 如果您对我的服务满意,请不要吝啬您的点赞~
post_id | 86,468,993 |
---|---|
author | teamcn-shop |
permlink | re-ravenkim-qchggu |
category | hive-101145 |
json_metadata | "{"app":"teamcn-shop bot\/1.0"}" |
created | 2020-06-25 13:07:51 |
last_update | 2020-06-25 13:07:51 |
depth | 2 |
children | 0 |
net_rshares | 0 |
last_payout | 2020-07-02 13:07:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 176 |
author_reputation | 65,900,527,192,856 |
root_title | "[IT] Pairwise 테스트는 MS PICT 로 조합하자~" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
@june0620 transfered 1.0 KRWP to @krwp.burn. voting percent : 0.66%, voting power : 83.99%, steem power : 1825781.57, STU KRW : 1200. @june0620 staking status : 50 KRWP @june0620 limit for KRWP voting service : 0.15 KRWP (rate : 0.003) What you sent : 1.0 KRWP Refund balance : 0.85 KRWP [44556602 - a3d5b8b4893d1fd90becb68acbba064fe20badb2]
post_id | 86,468,951 |
---|---|
author | sct.krwp |
permlink | re--it-pairwise-ms-pict-20200625t130330103z |
category | hive-101145 |
json_metadata | {"tags":["kr","mini","zzan","dblog","sct-kr","sct-freeboard","automation","sct"]} |
created | 2020-06-25 13:03:33 |
last_update | 2020-06-25 13:03:33 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2020-07-02 13:03:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 438 |
author_reputation | 10,000,000,000,000 |
root_title | "[IT] Pairwise 테스트는 MS PICT 로 조합하자~" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
你怎么都不给自己拍手呢 拍手的likecoin攒到还是蛮抵钱的呢 我有9W枚了还没出手等机会😅
post_id | 86,515,169 |
---|---|
author | annepink |
permlink | qcp3nt |
category | hive-101145 |
json_metadata | {"app":"steemcn\/0.1"} |
created | 2020-06-29 16:12:00 |
last_update | 2020-06-29 16:12:00 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2020-07-06 16:12:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 48 |
author_reputation | 160,119,580,804,298 |
root_title | "[IT] Pairwise 테스트는 MS PICT 로 조합하자~" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |