Questions tagged [jbehave-plugin]

JBehave-plugin are using to integrate JBehave with different editors.

JBehave BDD Plugin IntelliJ IDEA 9 plugin that facilitates navigation of JBehave stories and steps.
JBehave Eclipse plugin BDD using JBehave and Eclipse plugin to help in writing stories. There are Multiple JBehave plugins, which are used to integrate JBehave with editors.

28 questions
6
votes
5 answers

IntelliJ IDEA, jbehave support plugin cannot find declaration to go to

I've faced with the next problem: after installing jbehave support plugin I can't jump to step declaration in Java. I've already tried: to uninstall and again install this plugin; to use jbehave plugin, but this functionality also didn't work; to…
Alex Kulinkovich
  • 4,408
  • 15
  • 46
  • 50
3
votes
0 answers

Does jbehave have a way to share variables between keywords?

I have story something like this: Scenario: Go to screen Configuration->Setup->Device Operation Mode , Set Device mode to IP if not matched Given I am on page Configuration->Setup->Device Operation Mode When I choose "IP" if not matched from…
3
votes
1 answer

Eclipse Jbehave eclipse error

I get this error when i try to open story file in eclipse kepler "Plug-in "org.jbehave.eclipse" was unable to instantiate class "org.jbehave.eclipse.editor.story.StoryEditor"."?? org.eclipse.core.runtime.CoreException: Plug-in "org.jbehave.eclipse"…
3
votes
2 answers

jbehave run only specific story

I have jbehave integrated with Selenium. I am running my tests through command line as below C:\eclipse_workspace\MySeleniumTests>mvn clean test -Dwebdriver.firefox.bin="C:\Program Files\Mozilla\Firefox\firefox.exe" I have used jbehave-maven-plugin.…
Kaizar Laxmidhar
  • 859
  • 1
  • 17
  • 38
2
votes
1 answer

Problems executing project using jbehave in eclipse

I am completely new to jbehave and even automated testing. I read a tutorial online and tried following the steps. I am trying to run this application in eclipse IDE. I made a Math.story file which contains the tests: Scenario: 2 squared Given a…
Lavanya Mohan
  • 1,496
  • 7
  • 28
  • 39
1
vote
1 answer

JBehave incorrectly identifying two steps that have a similar step text part

sign out as \"$signOutUser\" sign out as \"$signOutUser\" and sign in as \"$signInUser\" Above are the two step definitions that cause this issue. JBehave misreads the below step. When sign out as "userA" and sign in as "userB" Even though the…
Aki T
  • 612
  • 2
  • 7
  • 17
1
vote
0 answers

Jbehave with gradle

I am using Gradle in my project to run tests with Jbehave, and here are my dependencies: dependencies { testImplementation "org.jbehave:jbehave-core:4.6.3" testImplementation "org.jbehave.site:jbehave-site-resources:3.3.1:@zip" } I…
mibrahim.iti
  • 1,928
  • 5
  • 22
  • 50
1
vote
1 answer

Define a reusable variable and use it inside story files in JBehave

Given a stock threshold of 10.0 When stock threshold is set to 10.0 Then threshold result should be 10.0 In above steps, instead of the constant value 10.0, I'd like to use a predefined variable. Like, Given a stock threshold of…
Aki T
  • 612
  • 2
  • 7
  • 17
1
vote
0 answers

Pending steps with jbehave

I am getting pending steps for jbehave stories and please find the configuration details below: All the story steps are correct to my knowledge.I am not getting where i am going wrong in configuration. Could you please help me. build.gradle: …
sri
  • 25
  • 7
1
vote
0 answers

JBehave + Powermock integration cause org.powermock.api.mockito.ClassNotPreparedException

How do I properly use of Powermock capability along side with Jbehave.
1
vote
2 answers

How to add JBehave BeforeStory AfterStory in a story file

In JBehave, BeforeStory or AfterStory annotation can be added in Step level. So if there are multiple Steps classes with BeforeStory annotation, all those BeforeStory annotated methods will be executed before the each and every story start (which is…
1
vote
1 answer

Unable to run JBehave with Maven

I followed one of JBehave tutorial with maven, but unfortunately it seems outdated. So I tried to combine it with new tutorial (from official website). After a few modifications, the story couldn't run as before. However here's my project folder…
Aldo Suwandi
  • 382
  • 1
  • 6
  • 20
1
vote
1 answer

JUnit doesn't recognize test (in Eclipse or Maven)

I've got a runner class as part of some JBehave testing work and for whatever reason Eclipse won't allow JUnit for the "Run As...". I tried manually starting it through Maven via "mvn -Dtest=LoginTrial test" and it didn't recognize the test either.…
Taelus
  • 267
  • 1
  • 6
  • 15
1
vote
1 answer

IntelliJ Plugin Dev - Cannot prepare plugin for deployment

I am trying to download the source of an IntelliJ IDEA Plugin (for JBehave integration) from a github repo, and basically build it into a jar, which I can distribute to my team (which they can then drop into their plugin directory for…
Atif
  • 942
  • 1
  • 6
  • 19
1
vote
1 answer

Jbehave: I could get an example of Jbehave running and I have few questions on this.

Here is the example that I could get working. http://ivanz.com/2011/05/25/java-bdd-with-jbehave-and-watij-in-eclipse-with-junit/ Questions: This example has one story. If i need to have more than one story, Can i write it in the same file or should…
Mike
  • 899
  • 9
  • 27
  • 45
1
2