Comments on: You’re almost cuking it… /blog/2010/08/youre-almost-cuking-it/ Thinking through writing... on innovation, business, technology and more Sun, 24 May 2015 01:54:00 +0000 hourly 1 https://wordpress.org/?v=4.8.7 By: Andrew Premdas /blog/2010/08/youre-almost-cuking-it/comment-page-1/#comment-24 Sun, 31 Oct 2010 06:26:06 +0000 /blog/?p=85#comment-24 Improved version … I think

Given I am on my microsites home page
When I add a “Gallery” subpage
Then I should see the “Gallery” subpage

There is no need to have two descriptions for one concept: subpage and document
Do we really need to talk about “title” yet.

Still have an issue with this which is:

Where are we after we have added the subpage – on the home page, or on the subpage. Maybe its not yet important

]]>
By: Rakesh Loki /blog/2010/08/youre-almost-cuking-it/comment-page-1/#comment-21 Tue, 05 Oct 2010 19:20:29 +0000 /blog/?p=85#comment-21 Hello Antony, I agree with you – a scenario with tasks is more like a Test Scripts which should be updated when a change in UI.

]]>
By: (My) Cucumber best practices and tips | EggsOnBread /blog/2010/08/youre-almost-cuking-it/comment-page-1/#comment-20 Wed, 08 Sep 2010 16:23:56 +0000 /blog/?p=85#comment-20 […] wiki, 15 Expert Tips for Using Cucumber by Dave Astels, You’re Cuking It Wrong by Elabs and You’re almost cuking it… by Antony Marcano. You could also like (My) RSpec best practices and tips. […]

]]>
By: James Martin /blog/2010/08/youre-almost-cuking-it/comment-page-1/#comment-19 Thu, 26 Aug 2010 05:23:16 +0000 /blog/?p=85#comment-19 Thanks, guys.

I've recently found that trying to use persona/actor names right from the very first acceptance test really helps when starting to write code (from the outside-in).

Would be interested to know if it's as helpful for the non-programmers in an organisation. I suspect it would, at the very least, encourage the team to establish an ubiquitous language for their domain.

]]>
By: Antony Marcano /blog/2010/08/youre-almost-cuking-it/comment-page-1/#comment-18 Thu, 26 Aug 2010 00:40:34 +0000 /blog/?p=85#comment-18 Andy's remark about refactoring someone else's test is exactly why I didn't change it from first to third person 🙂

I made one other change while I was writing the post but reverted it because I didn't want to distract people from the main point of the post. The change was to use the Given to say who I am…

Given I am logged in as an Editor

OR

Given I am an Editor
and I have a microsite with a homepage
When I Add a Subpage with a Title of “Gallery”
Then I should see a document called “Gallery”

OR, instead of “an Editor” I might use a persona name if we have well established personas on the project.

]]>
By: Andy Palmer /blog/2010/08/youre-almost-cuking-it/comment-page-1/#comment-17 Wed, 25 Aug 2010 21:50:27 +0000 /blog/?p=85#comment-17 Hey James,
For me, I would generally use a role name from the outset. If we were working from story cards, then it would probably say something like “As a FitNesse User…” and I would then put that in straight away.
However, if I was refactoring someone else's Cucumber tests from a mixture of Activities and Tasks to just Activities, I would probably preserve their narrative format. (I probably wouldn't change their tabs to spaces either 🙂 )

]]>
By: James Martin /blog/2010/08/youre-almost-cuking-it/comment-page-1/#comment-16 Wed, 25 Aug 2010 16:11:19 +0000 /blog/?p=85#comment-16 Antony, under what circumstance would you consider it beneficial switching from the first to the third person narrative in these scenarios?

I'm thinking of the Fitnesse Narrative example, where you used a descriptive name (e.g. Fitnesse User) in the third person throughout the acceptance test. Is that an important technique in ATDD or did it just make sense in the context of the metaphor you were using for NarrativeFixture?

]]>