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

Write all results of one test class into one result file #88

Closed
kema91 opened this issue Oct 25, 2018 · 1 comment
Closed

Write all results of one test class into one result file #88

kema91 opened this issue Oct 25, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@kema91
Copy link

kema91 commented Oct 25, 2018

At the moment we get only one test inside a result file but we want to get all tests from a test class inside one result file.

actual:
bildschirmfoto 2018-10-24 um 10 02 43

expected
bildschirmfoto 2018-10-25 um 17 06 27

@kema91 kema91 added the bug Something isn't working label Oct 25, 2018
@beatngu13
Copy link
Contributor

beatngu13 commented Oct 25, 2018

To add some more details: According to @kema91 and @oezelenes, the problem is essentially that the replay result is stored along with the instance of RecheckImpl. Since we create a new object for each test (@Before/@BeforeEach/…), this gets overwritten.

However, I think we want to use that lifecycle because a) to be compliant with how Selenium tests are usually written and b) to not share a single RecheckImpl instance among multiple tests. What we need is a single instance (not necessarily a singleton) that stores the test results and that can be accessed from each RecheckImpl instance.

Suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants