iSQI CTFL-AcT Exam - Topic 1 Question 9 Discussion
Which of the following is the BEST example of a Gherkin-style test for a web-based banking application?
A) GIVEN I have $5000 on my personal account X AND I have $200 on my personal account Y
WHEN I transfer $1000 from X to Y
THEN I should have balance $4000 on my personal account X AND I should have balance $1200 on my personal account Y
B) GIVEN I have $5000 on my personal account X AND I have $200 on my personal account Y
WHEN I click 'Make transfer' button AND I enter '3000' into 'Amount' field
AND I enter 'X' into 'From which account' field AND I enter 'Y' into 'To which account' field AND I click 'Confirm transaction' button
THEN I should have balance $2000 on my personal account X AND I should have balance $3200 on my personal account Y
C) GIVEN I have $5000 on my personal account X and $600 on my personal account Y WHEN I transfer $500 from Y to X
THEN I should have balance $4500 on X and balance $1100 on Y
D) GIVEN I have $5000 on my personal account X WHEN I have $600 on my personal account Y
THEN I have $5600 in total on my personal accounts X and Y
Gregoria
10 months agoMyrtie
10 months agoRima
10 months agoFranklyn
11 months agoJame
11 months agoNoel
11 months agoKattie
11 months agoLashaun
11 months agoRosalind
11 months agoLai
11 months agoMitsue
11 months agoGerri
11 months ago