Using Cucumber with features stored in Confluence (or another wiki)

1,866 views
Skip to first unread message

Andy Waite

unread,
Oct 12, 2011, 5:41:19 AM10/12/11
to Cukes
Has anyone tried running Cucumber against features defined in
Confluence? I'm still trying to weigh up the pros and cons of doing
this, and how to actually integrate them, but it would be interesting
to hear from anyone who has tried this.

Andy

Glen Tan

unread,
Oct 12, 2011, 6:11:09 AM10/12/11
to cu...@googlegroups.com
for what it's worth, I am interested if anyone else has tried to do this also


--
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.




--
Cheers
Glen

Matt Wynne

unread,
Oct 12, 2011, 6:29:50 AM10/12/11
to cu...@googlegroups.com

I know that one of the coms from the Fitnesse world is that it's hard to keep track of the synchronisation between versions of the code and tests. That's a benefit of checking in test with the source code, but obviously there are disadvantages too, in terms of making them feel less accessible to stakeholders.

Cucumber certainly used to be capable of running features from a URL, so if you can work out how to get confluence to give you just the gherkin, it should be possible to give it a try.

cheers,
Matt

--
Freelance programmer & coach
Author, http://pragprog.com/book/hwcuc/the-cucumber-book (with Aslak Hellesøy)
Founder, http://relishapp.com
+44(0)7974430184 | http://twitter.com/mattwynne

Alan Parkinson

unread,
Oct 12, 2011, 7:20:43 AM10/12/11
to cu...@googlegroups.com
I'm using JIRA instead of Confluence for allowing stakeholders easy access to features. I use JIRA's project versions to manage test versions and partially solve the issue highlighted by Matt.

To get the features out of JIRA in gherkin required writing a JIRA plugin but something very basic isn't hard to create.

Cheers,

Alan


Andy Waite

unread,
Oct 12, 2011, 7:31:25 AM10/12/11
to Cukes

> I know that one of the coms from the Fitnesse world is that it's hard to keep track of the synchronisation between versions of the code and tests. That's a benefit of checking in test with the source code, but obviously there are disadvantages too, in terms of making them feel less accessible to stakeholders.
>
> Cucumber certainly used to be capable of running features from a URL, so if you can work out how to get confluence to give you just the gherkin, it should be possible to give it a try.
>
> cheers,
> Matt

Quick first version: http://pastie.org/2682368

It uses a YAML file to map each wiki page to a feature file path.

So technically it's not difficult, but I'll need to see how well it
ties into our workflow.


Andy

Richard Lawrence

unread,
Oct 12, 2011, 12:47:52 PM10/12/11
to cu...@googlegroups.com

I once had a client go the other direction. In the Confluence page for
each story, they used a plugin to pull in the relevant Cucumber
scenarios from the web version of their source repository.

Richard

Bill Ross

unread,
Oct 12, 2011, 2:29:01 PM10/12/11
to cu...@googlegroups.com
> Has anyone tried running Cucumber against features defined in
> Confluence? I'm still trying to weigh up the pros and cons of doing
> this, and how to actually integrate them, but it would be interesting
> to hear from anyone who has tried this.

On the same note, if anyone has integrated cuke with Rally, I'd be
interested to hear about it.

Bill

aslak hellesoy

unread,
Oct 12, 2011, 2:35:50 PM10/12/11
to cu...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages