iT邦幫忙

2024 iThome 鐵人賽

DAY 8
0
Software Development

開發都來不及了還做什麼測試系列 第 8

Day8. 使用Zephyr Scale來撰寫test cases

  • 分享至 

  • xImage
  •  

我們要使用測試管理軟體來撰寫測試

不同之處:

  • 已有特定的欄位格式
  • 可以跟別的tool做整合

Zephyr Scale 是一個很熱門的軟體且可以跟JIRA做結合


步驟

https://ithelp.ithome.com.tw/upload/images/20240914/201086315R4hnki7Gt.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631Er5HiDt2Tc.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631dFjFIX88XY.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631d9OKUANj0N.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631m0H5qEa875.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631QCXp6cIEmB.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631vXQ7VBYloN.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631qTjDZidhPU.png

https://ithelp.ithome.com.tw/upload/images/20240914/201086314bR3zl57GN.png

  1. Navigate to login page
  2. Provide valid email and password
  3. Click on login

Click save

https://ithelp.ithome.com.tw/upload/images/20240914/201086317qehfl0aZA.png

folder = test suite

https://ithelp.ithome.com.tw/upload/images/20240914/20108631T1u5hdX8pb.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631SowtcxkPtZ.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631axH9X5wp5m.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631XOzrl1Su3g.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631bHkVpELbKu.png

Change to valid login

Test Cycles

https://ithelp.ithome.com.tw/upload/images/20240914/20108631f8W6sO53Gw.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631P0es46iTti.png

https://ithelp.ithome.com.tw/upload/images/20240914/201086317SkRASkyIp.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631vSwcHVU7VM.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631WisNUWD98y.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631bUws6WEaHf.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631RIhUP6IaRZ.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631ZuQYk5YSED.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631cQeEFxClLV.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631gR7yzVPpPd.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631xOX4YsBSVi.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631pe4j4qQZGL.png

Import from file

https://ithelp.ithome.com.tw/upload/images/20240914/20108631Gkgo98IcKn.png

Configuration

https://ithelp.ithome.com.tw/upload/images/20240914/20108631Qf52rRZ9hI.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631fM2ts8ehJk.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631QajNoIG4hO.png

Parameters

https://ithelp.ithome.com.tw/upload/images/20240914/20108631rdJSUhlPRa.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631GbjMkYke2G.png

Call to test

https://ithelp.ithome.com.tw/upload/images/20240914/20108631lVQY5OIx3F.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631XHssd79RmZ.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631wEroBLVo7M.png

BDD, DDT, TDD

  • BDT -Behavior
  • DDT - Data driven test
    • 跑同一個TC 10次用不同的DATA
    • Data 存在data file裡面

Test Data

https://ithelp.ithome.com.tw/upload/images/20240914/20108631TYuR5xgpQi.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631HxbbsrTglq.png

Datasets

https://ithelp.ithome.com.tw/upload/images/20240914/20108631e7pKJSmYGy.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631QQf9eZj52E.png

Bulk

https://ithelp.ithome.com.tw/upload/images/20240914/20108631ZsgPP55I2f.png

https://ithelp.ithome.com.tw/upload/images/20240914/20108631olqS6reAZU.png

System Test Plan

https://ithelp.ithome.com.tw/upload/images/20240914/2010863181jO5JbUZ0.png

本文章同步發布於個人blogger


上一篇
Day7. 如何撰寫test case
下一篇
Day9. 執行測試、回報Bugs與測試報告
系列文
開發都來不及了還做什麼測試30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言