java


How to generate steps of cucumber features in STS (Eclipse)?


I have seen it, and i have tried to follow its steps to generate the steps of feature file. Here is my dependencies in pom.xml:
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<version>1.2.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-java8</artifactId>
<version>1.2.5</version>
<scope>test</scope>
</dependency>
</dependencies>
And i have defined the runner class as below:
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import org.junit.runner.RunWith;
#RunWith(Cucumber.class)
#CucumberOptions(plugin = {"pretty", "html:target/cucumber"})
public class RunCukesTest {
}
and the feature file is located in src/features in the project:
The problem is, when i right click on the feature file-> Run as-> Cucumber
Nothing happens.
I expect that, the cucumber runner runs, and gives me the steps
So, what is wrong?
Feature is:
Feature: Title of your feature
I want to submit data into registeration form
Scenario: Register into the forum
Given I want to register into the main forum
When I enter name
And I enter passwrod
And I repeat the password
And I enter username
And I enter email
Then I click the submit
I didn't need that RunCukesTest at all.The point was to install the Cucumber-jvm plugin on STS, and it generates the steps very easily. This question was also very useful.

Related Links

A good website that tracks reverse dependencies of Java Jar files [closed]
Spring #autowired does not work
Connecting to external database through telnet
run java code with System.console class
DDD - Repository and many-to-many relationship
Using java.sql.Date
How do I hide the ScrollView scrollbar faster than the default?
Good resources for becoming more familiar with Struts 1 (for a legacy project)
How do I get timezone information on OS X with Java?
Is it possible to retrieve an object that is split into three tables with only one query?
how to seperate a csv file using commas if it has null values and we need data corresponding to upper column?
What is the difference between Eclipse 3.7 and Eclipse 4.1?
Java string: classes or packages with advanced functions?
Java memory space overlap?
Angle between 3 points signed, bad results
how can I find ram size of some mobile phones?

Categories

HOME
multithreading
azure-data-factory
pycharm
fft
jsp-tags
bookshelf.js
spring-jdbc
dxl
acquia
networkx
constraint-programming
cross-validation
medical
gnupg
here-api
rascal
correlation
windows-azure-storage
visual-studio-2005
dtrace
interop
nhibernate-envers
visual-composer
swiftlint
one-hot-encoding
autoconf
google-search-api
microsoft-r
claims-based-identity
wijmo
centos6.5
selectedindexchanged
jspm
nat
sql-server-2012-express
ioio
typed.js
textmate
azure-sql-database
amazon-kinesis-kpl
nssegmentedcontrol
revolution-slider
stacked
retina-display
hot-module-replacement
gesture
service-discovery
uft-api
jna
android-fingerprint-api
document.write
trim
vao
unixodbc
netcdf4
qcombobox
wptoolkit
executenonquery
scorm
user-accounts
rainbowtable
scrollable
dotnetzip
togetherjs
statsd
pg-dump
font-size
windows-mobile-6.5
memory-alignment
lync-client-sdk
redundancy
crosswalk-runtime
migradoc
root-framework
medium.com
angular-cache
adxstudio-portals
underscore.js-templating
nsfilemanager
contact-list
pagedlist
ready-api
pickadate
itextpdf
intellij-14
wireshark-dissector
fluid-dynamics
umbraco6
facebook-graph-api-v2.4
mdt
cctv
neolane
zend-route
jubula
htmlcleaner
hippomocks
quantlib-swig
xsockets.net
.aspxauth
dexterity
coverflow
gridcontrol
jelly
ocunit
runas
hosts-file
regsvr32
bubble-chart
gnustep
stage
zpt
invite
jmock
lang
compiler-specific
photoshop-cs4

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App