100% found this document useful (1 vote)
987 views3 pages

Test Design Techniques Homework

The document describes different test design techniques including equivalence partitioning and boundary value analysis, decision tables, and state transition diagrams. It provides examples of each with specific scenarios and test cases. For equivalence partitioning and boundary value analysis, it analyzes postal rate partitions for letter weight. For decision tables, it examines discount percentages for new and gold Apple customers based on purchase amount. For state transition diagrams, it models the steps to obtain a visa.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
987 views3 pages

Test Design Techniques Homework

The document describes different test design techniques including equivalence partitioning and boundary value analysis, decision tables, and state transition diagrams. It provides examples of each with specific scenarios and test cases. For equivalence partitioning and boundary value analysis, it analyzes postal rate partitions for letter weight. For decision tables, it examines discount percentages for new and gold Apple customers based on purchase amount. For state transition diagrams, it models the steps to obtain a visa.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Sergiy Glynyanchuk IF-015.

QC

Test Design Techniques Homework variant 4


1. Equivalence partitioning and Boundary value analysis

In a system designed for postal services' payment: Letters up to 100g are called as light letters. Postal rates for sending the light letters up to 10g are $25. The next 40g should be played by $35. Each next 25g up to 100g should be played by an extra $10. Partitions should be designed for grams. 1. Build equivalence classes (partitions) based on given information 2. Stand Out boundary values 3. Cover requirements above by tests (write test cases names and objectives) based on equivalence partitioning and boundary value analysis

Equivalence partitioning (EP) A black box test design technique in which test cases are designed to execute representatives from equivalence partitions. Boundary value analysis (BVA) A black box test design technique in which test cases are designed based on boundary values. Boundary value is an input value or output value which is on the edge of an equivalence partition or at the smallest incremental distance on either side of an edge, for example the minimum or maximum value of a range. 1. Equivalence classes:
invalid 0g 1g paid by $25 10g 11g paid by $35 50g 51g paid by $45 75g 76g paid by $55 100g invalid 101g

Test Cases

Decision tables If you are a new customer of Apple store and you made a purchase on $500 and more, you will get a voucher on 10% discount for todays purchase. If your purchase worth is less than $500, then you will get a voucher on 5% discount for todays purchase. If you are a gold customer of Apple store, then you will have 30% discount on all store assortments. 1. Build decision table based on given information

Decision table A table showing combinations of inputs and/or stimuli (causes) with their associated outputs and/or actions (effects), which can be used to design test cases.
R1 new customer, purchase on $500 and more Y Y new customer, purchase less than 500$ Y gold customer Causes (inputs) R2 Y Y N R3 Y N N R4 Y N Y R5 N Y Y R6 N Y N R7 N N Y R8 N N N

R3 new customer, purchase on $500 and more Y N new customer, purchase less than 500$ N gold customer Effects (outputs) 5% discount (%)

Causes (inputs)

R6 N Y N

R7 N N Y

10% 30%

2.

State transition

To open a visa you need to pass a list of steps in standard procedure. At first you need to get consultation or read some materials about documents which should be provided. Then you should prepare these documents according to templates and give them to tour agency for verification. If there are mistakes in the documents, they should be re-developed. If documents are prepared correctly, then you should pay $80 for consular fee and pass interview with consul. If embassy accepts documents and you passed interview successfully, then you will get visa. If not, then you will need to try again. 1. Build state transition diagram based on given information

State transition diagram


decided to get consul tatio n Get consultation ready Want open visa decided to read Prepare documents Read materials about documents ready ready there are m istak es

Give documents for verification

No mistakes

Pay $80 for consular fee

Money paid

Go for an interview with consul

passed

Get visa

not passed

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy