-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
13 lines (13 loc) · 6.06 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
<!doctype html><html lang=en-us><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge,chrome=1"><title>Eason Cheng</title><meta name=viewport content="width=device-width,minimum-scale=1"><meta name=description content><meta name=generator content="Hugo 0.110.0"><meta name=robots content="noindex, nofollow"><link rel=stylesheet href=/ananke/css/main.min.css><link href=/index.xml rel=alternate type=application/rss+xml title="Eason Cheng"><link href=/index.xml rel=feed type=application/rss+xml title="Eason Cheng"><meta property="og:title" content="Eason Cheng"><meta property="og:description" content><meta property="og:type" content="website"><meta property="og:url" content="http://example.org/"><meta itemprop=name content="Eason Cheng"><meta itemprop=description content><meta name=twitter:card content="summary"><meta name=twitter:title content="Eason Cheng"><meta name=twitter:description content></head><body class="ma0 avenir bg-near-white"><header><div class="pb3-m pb6-l bg-black"><nav class="pv3 ph3 ph4-ns" role=navigation><div class="flex-l justify-between items-center center"><a href=/ class="f3 fw2 hover-white no-underline white-90 dib">Eason Cheng</a><div class="flex-l items-center"><div class=ananke-socials></div></div></div></nav><div class="tc-l pv3 ph3 ph4-ns"><h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">Eason Cheng</h1></div></div></header><main class=pb7 role=main><article class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy mid-gray"></article><div class="pa3 pa4-ns w-100 w-70-ns center"><h1 class=flex-none>Recent Posts</h1><section class="w-100 mw8"><div class="relative w-100 mb4"><article class="bb b--black-10"><div class="db pv4 ph3 ph0-l no-underline dark-gray"><div class="flex flex-column flex-row-ns"><div class="blah w-100"><h1 class="f3 fw1 athelas mt0 lh-title"><a href=/posts/page-object/ class="color-inherit dim link">Something About Page Object</a></h1><div class="f6 f5-l lh-copy nested-copy-line-height nested-links">Page Object A page object is an object-oriented class that:
Serves as an interface to a page of your AUT. Should allow a software client to do anything and see anything that a human can. Provides an interface that’s easy to program to. Hides the underlying widgetry in the window. Regarding widgets:
Text fields should have accessor methods that take and return a string. Check boxes should use booleans. Buttons should be represented by action-oriented method names.</div><a href=/posts/page-object/ class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">read more</a></div></div></div></article></div><div class="relative w-100 mb4"><article class="bb b--black-10"><div class="db pv4 ph3 ph0-l no-underline dark-gray"><div class="flex flex-column flex-row-ns"><div class="blah w-100"><h1 class="f3 fw1 athelas mt0 lh-title"><a href=/posts/test-design-strategy/ class="color-inherit dim link">設計測試案例策略:提升軟體品質的核心步驟</a></h1><div class="f6 f5-l lh-copy nested-copy-line-height nested-links">在軟體開發的過程中,test case(測試案例)的設計是提高產品質量的關鍵步驟之一。良好的測試案例不僅能揭示潛在的缺陷,還能確保軟體符合業務需求和使用者期望。下面,我們將探討設計測試案例的策略及一些實用的設計技巧。
1. 了解需求 設計測試案例的首要步驟是深入理解軟體的需求和功能。測試人員需要閱讀 spec(規格書)、user story(使用者故事)或者與開發團隊進行討論,以獲得對應用程序的全面了解。
2. 選擇適當的設計技術 包括邊界值分析(Boundary Value Analysis, BVA)、等價分區(Equivalence Partitioning, EP)、決策表驅動測試(Decision Table Testing)等。選擇哪種技術取決於軟體的類型和複雜性,以及測試的目的。
3. 設計正向和反向案例 正向案例是根據正常和預期的使用情況設計的,而反向案例則是針對異常或錯誤的使用情況。兩者都是必要的,因為他們幫助確保軟體在各種可能的情況下都能正確運行。
4. 著眼於使用者視角 在設計測試案例時,我們需要考慮到真實世界的使用情況。這可能需要我們將自己置於使用者的位置,或者與真實的使用者進行討論。
5. Perform Review and Refactoring (進行評審和重構) 設計的測試案例需要定期進行評審和重構,以確保他們的有效性。當軟體的需求或設計發生變化時,測試案例也可能需要更新。
6. 設計測試案例的實用技巧 以下是一些實用的設計測試案例的技巧,能助於提升測試的全面性和有效性:
考慮兼容性 尤其是在跨平台和跨裝置的環境中,我們需要設計測試案例以確保軟體在各種不同的環境下都能正常運行。
考慮前置條件 對於相同的步驟或輸入,我們需要考慮各種不同的前置條件。例如,我們可以設計測試案例來檢查不同使用者身份對軟體功能的影響。
考慮不同的資料類型 我們需要考慮不同的資料格式和大小,並設計測試案例來檢查軟體如何處理這些不同的資料。這可以與兼容性的考慮相結合,以確保軟體在處理各種資料和環境時都能正常運行。
結語 設計測試案例是確保軟體質量的重要過程,需要深入理解需求,選擇適當的設計技術,並考慮到各種可能的使用情況。只有這樣,我們才能設計出能夠有效檢驗軟體功能與效能的測試案例,確保最終產品的品質並符合使用者的需求與期望。</div><a href=/posts/test-design-strategy/ class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">read more</a></div></div></div></article></div></section></div></main><footer class="bg-black bottom-0 w-100 pa3" role=contentinfo><div class="flex justify-between"><a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href=http://example.org/>© Eason Cheng 2024</a><div><div class=ananke-socials></div></div></div></footer></body></html>