Njax3SmmM2x2a0Zf7Hpd
Njax3SmmM2x2a0Zf7Hpd

Reputation: 1364

What are the Tools for writing stories for Jbehave?

I was wondering whether there're any tools assisting users in Writing stories for Jbehave ?

Upvotes: 2

Views: 1464

Answers (3)

Dmytro
Dmytro

Reputation: 1

There is a Jira plugin called "JBehave for Jira" designed specifically to help write JBehave stories (or capturing scenarios as Liz put it more correctly) without a need for an IDE, hence perfect for non technical people.

See the following link for more info - https://marketplace.atlassian.com/plugins/com.jbehaveforjira.plugin

Upvotes: 0

Lunivore
Lunivore

Reputation: 17612

Please don't "write stories for JBehave".

Have conversations with your business, and capture the scenarios they talk about, in something that is as close to their language as you can. Then write those down and use JBehave to map the natural language to steps.

This is what JBehave's aliases are for; so that you can capture conversations rather than forcing them into a form that you already have.

If you try to make those conversations match an existing framework, you're just programming using a different kind of language, and all of the problems that BDD is designed to help you with will still be there. You'll just be translating from your "JBehave steps" to the business language instead of from code. Worse, because it's English, people will think you understand what you're doing, instead of recognizing that you might have got it wrong. If you're using JBehave this way, you might as well use a DSL, which at least doesn't provide that illusion.

If you find that there's ambiguity in what the business are saying and you want to constrain the language that they use, talk about that rather than just doing it in JBehave. You may want to read the sections on "ubiquitous language" and "core domain" in Eric Evans' book, "Domain Driven Design", as that will help to make the conversations you have more effective.

Conversation, not automation, is the heart of BDD.

Upvotes: 4

Obl Tobl
Obl Tobl

Reputation: 5684

In my opinion the best integration of jBehave is in Eclispe. There you have a complete Story Editor for this (and of course syntax highlighting and so on). Maybe this is what you want.
Have a look at this page: http://jbehave.org/eclipse-integration.html

I hope this is what you are looking for.

Upvotes: 1

Related Questions