> I think by expressing it this way you are both hiding requirements,
> and also obscuring business value. in fact the business value is not
> that clear in the original scenario.
>
> why is there a validation message, why is there validation? why isn'tThanks for the recommendations. I think I will check out the Cucumber
> the submit button enabled to start with and why have it change state?
> Why do we care if a user can be added to the list, what is the bottom
> line value in that? Why does the business want to make it easy for
> the user to subscribe to the list?
Book.
The hardest part about accepting this explanation for me is the
implication that cucumber features shouldn't be used for anything but
expressing business values. For instance, a user interface can have
several aspects that are incidental to business values, but should
nevertheless at least be consistent and integration tested so they
don't look broken. But I guess those aspects could all be construed
as business values in a way as well, and written and tested as such.
I will attempt to write features with this business-value focus and
see how it goes. It really took some convincing though!
Back on the original topic, I guess I can't think of a business value
that would need to be expressed as a sequence of events. Maybe all
that detail can be hidden in step definitions. If I do come across a
situation that usurps that assumption, I'll bring it up again! That's
assuming I can bring myself to accept the practice of always writing
cucumber features that express nothing more than business values :)
Thanks!
--
You received this message because you are subscribed to the Google Groups "Cukes" group.
To post to this group, send email to cu...@googlegroups.com.
To unsubscribe from this group, send email to cukes+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
By the way just doing this is sufficient to transform your development.You can't replace review, and interaction with Cucumber. When you realise this, then you see that writing features that 'test aspects of the user interface incidental to business value' is pretty much a waste of time. If you want to know if the user interface is good enough someone is going to have to look at it.
>> I think by expressing it this way you are both hiding requirements,
>> and also obscuring business value. in fact the business value is not
>> that clear in the original scenario.
>
> The hardest part about accepting this explanation for me is the
> implication that cucumber features shouldn't be used for anything but
> expressing business values. For instance, a user interface can have
> several aspects that are incidental to business values, but should
> nevertheless at least be consistent and integration tested so they
> don't look broken. But I guess those aspects could all be construed
> as business values in a way as well, and written and tested as such.
>
> I will attempt to write features with this business-value focus and
> see how it goes. It really took some convincing though!
What I, and I presume many others do is use Cucumber for the
"high-level" business-level stuff, and then use other testing tools to
specify more granular things.
You could, for example, test the behavior of your validation button
using (for example) rspec.
jon
blog: http://technicaldebt.com
twitter: http://twitter.com/JonKernPA
Chuck van der Linden said the following on 2/23/12 1:03 PM:
So I can envision a strategy in which you talk to the client about
business requirements, and write those all up before any
implementation detail is discussed. Then you design a user interface,
etc. and the client decides "well, it would be better if this
interface weren't so clunky... I mean it works fine, but can we do X,
Y and Z easily?" These things go beyond the business requirements.
So I would start another section of features (in a separate directory)
for that stuff, and it would be more implementation specific, because
it's just the way the client would like to see the implementation take
shape.
Is there anything wrong with that? Is there another tool that is
better suited to dealing with that kind of detail?
--
You received this message because you are subscribed to the Google Groups "Cukes" group.
To post to this group, send email to cu...@googlegroups.com.
To unsubscribe from this group, send email to cukes+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cukes?hl=en.