Metamorphic testing · Question 43 of 60
A search engine returns 800 hits for "running shoes". Which follow-up test case results from a sensible metamorphic relation derived from domain knowledge?
1 answer is correct. Hard
Show answer
Answer
- B Search for "running shoes women": at most as many hits as for "running shoes" are expected
Explanation
Metamorphic relations are derived from domain knowledge, requirements or domain properties and describe how a change in the input is reflected in the result. An additional restrictive search term should not enlarge the set of hits. What is checked is the relationship between the outputs, not an absolute value.