ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 40 - STQB-Agile-Public discussion

Report
Export

User Story: As a user I want to be able to calculate tax percentage based on amount of income.

What is the best black box test design technique for verifying the accuracy of this user story?

SELECT ONE OPTION

A.
User story testing - test that the user can enter an income amount and get a result
Answers
A.
User story testing - test that the user can enter an income amount and get a result
B.
Equivalence partitioning - test with low, medium and high income.
Answers
B.
Equivalence partitioning - test with low, medium and high income.
C.
Statement testing - test all statements in income calculation.
Answers
C.
Statement testing - test all statements in income calculation.
D.
State transition testing - test all states of income entry.
Answers
D.
State transition testing - test all states of income entry.
Suggested answer: B

Explanation:

Equivalence partitioning is a black box test design technique suitable for verifying the accuracy of user stories like the one described. It involves dividing input data of a software unit into partitions of equivalent data from which test cases can be derived. For a user story involving tax percentage calculation based on income, Equivalence Partitioning allows the creation of test cases for different income ranges (low, medium, high) to ensure that the system accurately calculates tax percentages for each partition, thus covering various scenarios within the application's functionality.

asked 18/09/2024
Vusani Nedzungani
50 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first