April 21, 2015
8:57 a.m.
On 21/04/15 10:14, Miguel Moquillon wrote:
In BDD each functionalities are describes as :
As a <role> I want <some feature> So that <I gain a benefit>
And the functionality is described in different scenarios (nominal and error ones) : Given <some initial context> When <an event occurs> Then <ensure some outcomes>
This can be mapped rather easily on a subclass of TestCase, even the variants with tabled examples. With glamour now in the core, it is easy to make a specialized browser (and editor) for these tests. Given and When map to setUp, then to the test. Just add BDDGoal BDDStakeHolder and BDDFeature and make sure that a BDDTest refers to them. Stephan