This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
To run test suite from a java main method in src/main/java #232
Comments
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" <[email protected]>
To: "serenity-bdd/serenity-cucumber" <[email protected]>
Cc: "waynesinclair-rsa" <[email protected]>, "Comment" <[email protected]>
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, [ #232 (comment) | 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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: