Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

To run test suite from a java main method in src/main/java #232

Open
contactkrsna1 opened this issue May 22, 2020 · 6 comments
Open

To run test suite from a java main method in src/main/java #232

contactkrsna1 opened this issue May 22, 2020 · 6 comments

Comments

@contactkrsna1
Copy link

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.

@wakaleo
Copy link
Member

wakaleo commented May 22, 2020

Not easily, no.

@waynesinclair-rsa
Copy link

Hi,

Did you perhaps find a solution for this issue. I am having the same problem.'=

Thanks

@wakaleo
Copy link
Member

wakaleo commented Jan 24, 2021

It's just not what you normally do. What problem are you trying to solve?

@waynesinclair-rsa
Copy link

waynesinclair-rsa commented Jan 25, 2021 via email

@SDeo1
Copy link

SDeo1 commented Oct 28, 2021

Did anyone have any luck on how to achieve this so far?

@wakaleo
Copy link
Member

wakaleo commented Oct 28, 2021

This is not how Serenity works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants