May 07, 2012
Using Cucumber its very easy to increase the cost of change for the software your features are testing. An example will illustrate this. Say we have an ecommerce application that gives free postage if we buy more than $100 of products. We can write a simple feature to exercise this Feature: Free postage Scenario: Get free postage When I buy $110 worth of goods Then I should get free postage Scenario: Pay for postage When I buy $90 worth of...