Hi Alex.
It's an interesting question which will take me more than 5 minutes to
answer. I'm going to answer this properly - I just wanted you to know
I'm not ignoring you! (It's also a good candidate for a website page.)
Cheers,
Dan
Alexandre Martins wrote:
Hi,
I have a conceptual question, wich is better to make it using an
example as guide.
I have the following Scenario in a Story:
Scenario: user without permission creating a Product
Given system is running
And user is logged in whithout administrator privileges
When user creates a Product
Then user should get permission denied error
Ok, I've written all the givens, events and outcomes for this scenario.
My question is.....
Do I need to implement the Behaviours for this case, since the
acceptance test is already implemented?
Like:
"shouldGetPermissionDeniedErrorWhenCreatingProductWithoutPrivilege",
etc...
Or the intention of the Behaviour is only to cover critical
implementations?
Cheers.
______________________
Alexandre Martins Nunes