I create my cucumber java feature on Intellij IDE and I can run my feature test with the IDE. But now I need to run these tests with the command line. So I have my doubts about how do I execute it.
There is my project structure:
├── CucumberPOC.iml
└── src
└── test
├── CucumberRunner.java
├── java
│ ├── CheeseStepDefinition.java
│ └── StepDefinition.java
└── resources
├── cheese.feature
└── myfeature.feature
I am using junit-4.12.jar library. I am trying to execute the command used as answer for the question: How to run a Cucumber-JVM feature file from the command line. But it command doesn't work for me and I will like to run all my suite or an specific feature.
Also I want to run the command without maven. Just a simple command like:
java library_path arguments_my_features....
I don't know how to use the java commands to run feature(s), it is my problem.