Open contactkrsna1 opened 4 years ago
Not easily, no.
Hi,
Did you perhaps find a solution for this issue. I am having the same problem.'=
Thanks
It's just not what you normally do. What problem are you trying to solve?
I have applied for a test automation job, and they have given me an exercise to do. I have to package the tests and forward to them in such a way that they can instantly see them running.
From: "John Ferguson Smart" notifications@github.com To: "serenity-bdd/serenity-cucumber" serenity-cucumber@noreply.github.com Cc: "waynesinclair-rsa" wsi@netactive.co.za, "Comment" comment@noreply.github.com Sent: Sunday, January 24, 2021 7:23:20 PM Subject: Re: [serenity-bdd/serenity-cucumber] To run test suite from a java main method in src/main/java (#232)
It's just not what you normally do. What problem are you trying to solve?
— You are receiving this because you commented. Reply to this email directly, [ https://github.com/serenity-bdd/serenity-cucumber/issues/232#issuecomment-766398065 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AJDHDRIRMDRLDV6B2SK67FLS3RJQRANCNFSM4NHQQCCQ | unsubscribe ] .
Did anyone have any luck on how to achieve this so far?
This is not how Serenity works.
Hi I am using serenity with cucumber. My test suite is in src/test/resources and from a java method inside src/main/java . can i run the test suite src/main/java package testrunner; class MyTestRunner { public static void main(String[] args) { // here i have to execute my TestSuite } } } This should have the same effect of running mvn verify and generate reports.
Thanks in adance.