More Related Content
Similar to TDD-based workflow: Optimizing Development Process (20)
TDD-based workflow: Optimizing Development Process
- 12. TDD
TDD can't even be begun until we know the
shape of the system that is to be created.
(Uncle Bob)
- 13. BDD
The point of BDD is to get people
communicating and bridge the gap between
‘technical’ and ‘business’ people
(Dan North)
- 15. Breaking it down
1. User Stories
2. Scenario Explorations
3. Architecture Decisions
4. Writing down the test
- 18. User Story
As an event owner I want to
refund the remaining points
from an event so that I can
use the points again
- 25. /**
* @expectedException InvariantException
* @expectedExceptionMessage EVENT.REFUND.STILL_ACTIVE
*/
function
given_that_an_event_has_not_finished_and_when_the_event_is
_being_refunded_then_it_should_fail()
{
$eventRefund->refund($event, $requester);
}