[Cucumber] My Feature Narrative seems too long?

0 views
Skip to first unread message

Scott G Smith

unread,
Oct 6, 2009, 9:50:05 PM10/6/09
to forumgrouper
Hello People,

I have working with Gherkin (Cucumber syntax) for about an hour now.

I like it in a puzzle-solving kind of way.

Perhaps I will learn how to make it useful for my software efforts.

Suppose I sell appliances and I accept credit card payments once a
month from customers who buy appliances from me on a payment plan.

I came up with this Feature-name and narrative:

Feature: Process Payments
So that the system can regularly process credit card payments for a
set of payment plans it needs to respond to time based events and then
work through a queue of the payment plans while connected to the
credit card processing gateway


The above Feature-narrative seems okay to me.

But, when I compare it to other Feature-narratives I see on the web
and in the RSpec book,
I worry my Feature-narratives is too long and thus I lack good
understanding of Gherkin.

Thoughts anyone?

--Scott

Scott G Smith

unread,
Oct 6, 2009, 10:13:18 PM10/6/09
to forumgrouper
Reply all
Reply to author
Forward
0 new messages