-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Serenity report is empty when using plugins with junit @ConfigurationParameter #3189
Comments
@cliviu any idea about this one? |
This is strange. @mrpet88 , how are you exactly configuring the plugin using junit-platform.properties? |
Hello, not sure what do you mean by "how", but in general the whole junit-platform.properties and serenity-cucumber runner configuration can be found on the attached github repo. More or less the configuration I followed is coming from the instructions: |
Found it: you need to also include the Serenity plugin - for some reason if you declare plugins in the runner class, JUnit no longer reads them from the properties file, so you need to do this:
|
Indeed, never thought to add the SerenityReporterParallel in the runner class. Works now, thanks! |
Hello, I am having exactly same issue, i am using MVN and Junit, i am not using cucumber. Can anyone help please? [INFO] Running Test [INFO] |
can one one help me with above issue please |
@allahmalum79 that looks like a project-specific dependency issue. If it is urgent we can certainly organise some commercial support to get you unstuck. |
@wakaleo I Need commercial support, how can i proceed with that |
@allahmalum79 Send me an email at john.smart[at]wakaleo.com and I will send you the details. |
Run sample project with
clean test -Dcucumber.filter.tags="@MyTest"
When there is at least one plugin imported with junit
@ConfigurationParameter
then the report is empty (check screenshot andsrc/test/java/starter/CucumberTestSuite.java
runner)If the same plugin is referenced through
junit-platform.properties
then report is showing correctly.https://github.com/mrpet88/basicProjects/tree/main
Other info:
The text was updated successfully, but these errors were encountered: