FMA,
On 5/9/18 9:35 AM,
fmap...@gmail.com wrote:
> Thank for your response but it's always the same problem !
>
> Step definitions and feature files are in the same package.
>
> Le mercredi 9 mai 2018 14:55:46 UTC+2, Aslak Hellesøy a écrit :
>
> Step definitions have to be in the same package (or sub package) as
> the feature files.
>
> On Wed, May 9, 2018 at 1:26 PM, <
fmap...@gmail.com <javascript:>> wrote:
>
> Hi,
>
> This is my Cucumber runner (in src/test/java) :
>
> |
> @RunWith(ExtendedCucumber.class)
>
>
> @ExtendedCucumberOptions(jsonReport
> ="target/cucumber.json",retryCount =3,detailedReport =true,
> detailedAggregatedReport =true,overviewReport
> =true,jsonUsageReport ="target/cucumber-usage.json",
> usageReport =true,toPDF =true,outputFolder ="target")
>
>
> @CucumberOptions(plugin
> ={"html:target/cucumber-html-report","json:target/cucumber.json","pretty:target/cucumber-pretty.txt",
> "usage:target/cucumber-usage.json","junit:target/cucumber-results.xml"},features
> ={"src/test/resources"},glue ={"src/test/java"})
>
> publicclassCucumberTest{}
>
> |
>
> Multiple "feature" files in src/test/resources directory.
>
> Multiple "step definitions" files in src/test/java directory.
Are your features and step definitions in the root package, or do you
have subdirectories under src/test/resources and src/test/java?
>
>
> *During the execution of the "/mvn test/" command, I obtain this
> error message : "Y/ou can implement missing steps with the
> snippets below..../" => *All steps defined in my files are missing !
>
- George
--
----------------------------------------------------------------------
* George Dinwiddie *
http://blog.gdinwiddie.com
Software Development
http://www.idiacomputing.com
Consultant and Coach
http://www.agilemaryland.org
----------------------------------------------------------------------