Categories

Jan 15 in Agile
Q: You have been given the following story:

“As a plant lover who travels frequently, I want to have an automated watering system, so that my

plants won’t die.”

You have also been given the following acceptance criteria:

1. The water should turn on when the temperature is > 85 degrees and the moisture content

of the soil changes from “normal” to “dry”.

2. The water should be dispersed for 5 minutes at the rate of 0.5 ounces per minute.

Which of the following is the first test case that should be written for the acceptance-test driven

implementation?

a. Set the soil moisture level to “wet”, then increase the heat and verify that the moisture

level changes to “normal” and then to “dry” and then to “parched”

b. Set the temperature > 85 degrees and verify that the temperature is increased

accordingly

c. Set the temperature to < 85 degrees and the moisture to “dry” and verify that no water is

dispersed

d. Set the temperature to > 85 degrees and the moisture to “dry” and verify that water is

dispersed

Related questions

Madanswer
May 2
May 15 in SAP
May 23, 2019 in Interview Question
...