0
comment
comment
on 8/31/2015 1:52 AM
Before the vacation I was working with Karl Adriansson on a project as the front end programmer. I helped get a front end JavaScript parts back on track. While doing this, Karl and one of the testers supplied me with specifications from the requirements. Since the specifications where very detailed, It was very easy to transform them into sort of BDD style tests:
test("PROJ-783", function (){
var ctx = given_a_customer_previously_bought(black_sweater());
and_I_currently_have_X_of_Y_in_stock(ctx, 3, bl[...]