Hi All,
I am new to Cucumber-jvm. I am not able to find the cause of this issue.Please help me in this.
I added the cucumber dependencies in maven pom.xml through eclipse. And then I took the cucumber example and I ran the tests through TestRunner. So when I ran the TestRunner class in eclipse as Junit test the tests ran and gave me the result.
Whereas test cases are not getting picked up for run while running the Test Runner class from command prompt. It always shows the following results.
C:\Documents and Settings\hkraman\workspace\com.tests>mvn test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building com.tests 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ com.tests
---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Documents and Settings\hkraman\wor
kspace\com.tests\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ com.tests ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ co
m.tests ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ com.t
ests ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ com.tests ---
[INFO] Surefire report directory: C:\Documents and Settings\hkraman\workspace\co
m.tests\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.188s
[INFO] Finished at: Thu Nov 08 00:24:21 IST 2012
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
Please somehpw tell me steps to follow for running Cucumber-jvm tests from command prompt.
--
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
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 https://groups.google.com/d/forum/cukes?hl=en
Hi All,
I am new to Cucumber-jvm. I am not able to find the cause of this issue.Please help me in this.
I added the cucumber dependencies in maven pom.xml through eclipse. And then I took the cucumber example and I ran the tests through TestRunner. So when I ran the TestRunner class in eclipse as Junit test the tests ran and gave me the result.
This is my RunClass file : RunTests.java
--
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Check your folder structure and pass the correct class path into CucumberOptions
Follow the instructions here for folder structure http://www.seleniumframework.com/cucumber-jvm-3/cucumber-jvm-folder-structure/
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.