Skip to content
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

part of json reports not created when running in testng parallel mode #409

Closed
adrian-herscu opened this issue Jun 5, 2019 · 1 comment
Closed
Milestone

Comments

@adrian-herscu
Copy link

adrian-herscu commented Jun 5, 2019

Not having enough time to prove this, but it seems that ScenarioTestListener class incorrectly manages its reportModels. This field is defined as a non-final instance and is overridden during onStart. The observed effect is that when running with suite parallel="tests", all defined test classes are executed but not all json files are generated.

https://github.com/TNG/JGiven/blob/master/jgiven-testng/src/main/java/com/tngtech/jgiven/testng/ScenarioTestListener.java#L111

@janschaefer
Copy link
Contributor

Fixed by not using any field anymore.

janschaefer added a commit that referenced this issue Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants