Cucumber JVM and JIRA integration

700 views
Skip to first unread message

Andrew Gallo

unread,
Apr 8, 2014, 2:02:01 AM4/8/14
to webd...@googlegroups.com
I am evaluating the Jira Behave Plugin for Acceptance Testing with Cucumber-JVM and Maven on a local JIRA instance.
I have installed the JIRA Behave Plugin successfully within a local instance of JIRA (http://localhost:8080) and am able to create and link Features and scenarios within JIRA.
The POM I'm using is given below.
When I run the test using mvn verify or from Eclipse as Junit, the build completes successfully but the features/scenarios are not retrieved from the local JIRA instance.
Questions:
1. Has anyone on this forum familiar with the Jira Behave Plugin for Acceptance Testing with Cucumber-JVM and Maven?
2. Would be interested to know what version of JIRA you're running it on and what issues you had and resolved to get it running with Cucumber-JVM and Maven.

3. I've pasted a copy of the POM.xml below to enable people to see or pick up anything I'm doing wrong.

I would appreciate any help?
 
POM.XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.hindsighttesting.behave</groupId>
<artifactId>cucumber-example</artifactId>
<version>0.0.1-SNAPSHOT</version>
<pluginRepositories>
<pluginRepository>
<id>hindsighttesting.release</id>
<name>Hindsight Software Release Repository</name>
<url>http://hindsighttesting.artifactoryonline.com/hindsighttesting/libs-releases/</url>
</pluginRepository>
</pluginRepositories>
<properties>
<cucumber.version>1.1.4</cucumber.version>
</properties>
<dependencies>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-picocontainer</artifactId>
<version>${cucumber.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.picocontainer</groupId>
<artifactId>picocontainer</artifactId>
<version>2.14.1</version>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<version>${cucumber.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>com.hindsighttesting.behave</groupId>
<artifactId>behave-maven-plugin</artifactId>
<version>1.0.3-104</version>
<configuration>
<server>http://localhost:2990/jira</server>
<projectKey>DEMO</projectKey>
<username>agallo</username>
<password>sunshine1</password>
</configuration>
<executions>
<execution>
<goals>
<goal>features</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.12</version>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<testResources>
<testResource>
<directory>${project.build.directory}/generated-test-sources/</directory>
<targetPath>com/hindsighttesting/cucumber/example</targetPath>
</testResource>
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>

</build>
</project>

Andrew Gallo

unread,
Apr 8, 2014, 2:22:07 AM4/8/14
to webd...@googlegroups.com

Krishnan Mahadevan

unread,
Apr 8, 2014, 3:22:09 AM4/8/14
to webdriver
Andrew,

I wasnt able to see anything relevant to WebDriver in this query. Perhaps you might want to post this query on a much more relevant forum [StackOverFlow ?]

Please help keep this forum relevant by posting queries that are related to WebDriver.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at http://groups.google.com/group/webdriver.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages