information ◦ Definition of done • Planning ◦ Design the feature ◦ Deadlines ◦ Setup your workplace • Executing ◦ Develop in iterations ◦ Document as you code
information ◦ Definition of done • Planning ◦ Design the debugging process ◦ Deadlines ◦ Setup your workplace • Executing ◦ Develop in iterations ◦ Document as you debug ◦ Use the right tools ◦ Fix the bug
DB checks if seats are available: ◦ Not available: throws an error ◦ Available: marks seats as reserved ▪ Previous seats are discarded • UserCart adds seats to list of reserved seats
seats) • DB checks if seats are available: ◦ Not available: throws an error ◦ Available: marks seats as reserved (previous seats are discarded) • UserCart adds seats to list of reserved seats Checkout • UserCart calls DB.checkout(id) • DB marks all reserved seats associated with id as taken • UserCart sends tickets for all seats in list of reserved seats
UserCart sends the wrong seats to reserve • DB doesn’t checkout the correct seats • DB doesn’t mark reserved seats as taken correctly • UserCart sends tickets for wrong seats 56 ➔ Specification ➔ Planning ➔ Executing
as taken correctly a. Sanity check DB.checkout() b. Stress check DB.checkout() 2. DB doesn’t checkout the correct seats a. Verify UserCart and DB mark the same seats at checkout 3. DB.reserve doesn’t reserve seats 58 ➔ Specification ➔ Planning ➔ Executing
taken correctly a. Sanity check DB.checkout() - 2 min. b. Stress check DB.checkout() - 5 min. 2. DB doesn’t checkout the correct seats a. Verify UserCart and DB mark the same seats at checkout - 10 min. 3. DB.reserve doesn’t reserve seats 59 ➔ Specification ➔ Planning ➔ Executing
a. Sanity check DB.checkout() ✔ b. Stress check DB.checkout() ✔ 2. DB doesn’t checkout the correct seats a. Verify UserCart and DB mark the same seats at checkout 3. DB.reserve doesn’t reserve seats 62 ➔ Specification ➔ Planning ➔ Executing