BDD – Behaviors Driven Development

What is Behaviors Driven Development?

Consider you are assigned to create Funds Transfer module in a Net Banking application.

There are multiple ways to test it

  1. Fund Transfer should take place if there is enough balance in source account
  2. Fund Transfer should take place if the destination a/c details are correct
  3. Fund Transfer should take place if transaction password / rsa code / security authentication for the transaction entered by user us correct
  4. Fund Transfer should take place even if it’s a Bank Holiday
  5. Fund Transfer should take place on a future date as set by the account holder

(more…)