[rspec-users] Spec'ing via features

David Chelimsky dchelimsky at gmail.com
Mon Nov 24 22:49:55 EST 2008

On Mon, Nov 24, 2008 at 1:18 PM, Mark Wilden <mark at mwilden.com> wrote:
> On Mon, Nov 24, 2008 at 10:29 AM, Pat Maddox <pergesu at gmail.com> wrote:
>> I disagree with the part about edge cases.  Acceptance Tests are about
>> defining and verifying business value, and edge cases are supremely
>> valuable to businesses.  What happens when an ATM user tries to withdraw
>> $1 more than he has available in his account?
> Withdrawing $1 more than available is an edge case, vulnerable to an
> off-by-one error, and doesn't need to be shown to business,
> in my opinion.
> Testing that is a means of detecting errors - it's not a specification.
> What happens when an ATM user tries to withdraw $100 more than available is
> not an edge case, and should be shown to business.
> I realize it's a fine point - I'm just responding to whether the business
> needs to see what we call "edge cases."
> ///ark

I think this is going to vary from customer to customer, but in the
end, I think it's up to the business to make this decision, not the

2 more cents. Don't spend 'em all in one place :)


More information about the rspec-users mailing list