انتقل إلى وضع عدم الاتصال باستخدام تطبيق Player FM !
Episode[38]: TDD & BDD
Manage episode 276761553 series 2594505
Resources Mentioned in this episode
- Introduction to Test Driven Development (TDD).
- TDD Vs BDD – Analyze The Differences With Examples.
- Test Driven Development: By Example.
- Messenger Platform Tutorial (TDD Approach).
- https://cucumber.io/
Example Mentioned in the Episode:
Title: Returns and exchanges go to inventory.
As a store owner,
I want to add items back to inventory when they are returned or exchanged,
so that I can track inventory.
Scenario 1: Items returned for refund should be added to inventory.
Given that a customer previously bought a black sweater from me
and I have three black sweaters in inventory,
when they return the black sweater for a refund,
then I should have four black sweaters in inventory.
Scenario 2: Exchanged items should be returned to inventory.
Given that a customer previously bought a blue garment from me
and I have two blue garments in inventory
and three black garments in inventory,
when they exchange the blue garment for a black garment,
then I should have three blue garments in inventory
and two black garments in inventory.
Episode Picks:
67 حلقات
Manage episode 276761553 series 2594505
Resources Mentioned in this episode
- Introduction to Test Driven Development (TDD).
- TDD Vs BDD – Analyze The Differences With Examples.
- Test Driven Development: By Example.
- Messenger Platform Tutorial (TDD Approach).
- https://cucumber.io/
Example Mentioned in the Episode:
Title: Returns and exchanges go to inventory.
As a store owner,
I want to add items back to inventory when they are returned or exchanged,
so that I can track inventory.
Scenario 1: Items returned for refund should be added to inventory.
Given that a customer previously bought a black sweater from me
and I have three black sweaters in inventory,
when they return the black sweater for a refund,
then I should have four black sweaters in inventory.
Scenario 2: Exchanged items should be returned to inventory.
Given that a customer previously bought a blue garment from me
and I have two blue garments in inventory
and three black garments in inventory,
when they exchange the blue garment for a black garment,
then I should have three blue garments in inventory
and two black garments in inventory.
Episode Picks:
67 حلقات
كل الحلقات
×مرحبًا بك في مشغل أف ام!
يقوم برنامج مشغل أف أم بمسح الويب للحصول على بودكاست عالية الجودة لتستمتع بها الآن. إنه أفضل تطبيق بودكاست ويعمل على أجهزة اندرويد والأيفون والويب. قم بالتسجيل لمزامنة الاشتراكات عبر الأجهزة.