Open amamgaq5 opened 3 years ago
Use the Maven conventions:
src/test/java
for test-related codesrc/test/resources/features
for feature filesActually we don't want to use src/test/resources location. Is there a way we can override the requirements location in serenity.conf
You can try serenity.requirements.dir but I would advise against it; I don't know if it is still supported.
Well it did not work thanks though for your replies. One more question is there a gradle project which I can use as reference to customize the serenity reports.
Gradle has other issues with customising properties. I would recommend sticking to the conventions.
That's an issue as my company uses gradle .
On Tue, Apr 20, 2021, 8:48 AM John Ferguson Smart @.***> wrote:
Gradle has other issues with customising properties. I would recommend sticking to the conventions.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/serenity-bdd/serenity-cucumber/issues/258#issuecomment-823288994, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHTKBMAK6SBWOUGZNKBHULTJWA37ANCNFSM43DROQAQ .
Is there a reason you can't use the standard conventions?
@wakaleo If you are talking about keeping it under src/test/resources..we had it under that folder initially but then our QC team and Trident want us to seperate Serenity BDD related code under src/bdd directory.
Well but I think setting serenity.test.root will pick requirements from our directory.
But now I am trying to see if by any chance in gradle we can customize the reports.
Thanks
Hi I am new to Serenity with Cucumber and working on a project.
We have features file and other code related to serenity/cucumber in below directories
src/bdd/java src/bdd/resources
We have serenity.conf in src/bdd/resources directory. I am trying to add readme.md under src/bdd/reources/features but somehow its not getting picked and requirement tab is empty.
Any suggestions how I can get the Requirement tab populated