Open fheerdegen opened 7 years ago
I can confirm this. Any chance that this will be fixed ?
One could possibly create a new instance of ReporterLifeCycleObserver (e.g in the test-method) and call the observeAfterTest-method, which decreases the counter. In this way the result will be set. This only works because the observer uses a static hashmap to count the Before/AfterTestEvents and is a very dirty work around imo.
If you prepare PR with the fix I will merge it for sure, I dont have any capacity do to this on my own anymore
Same issue for me. The report is empty. Only Title and Test suite are present
Issue Overview
In the arquillian xml report that is created from our integration tests, the report message and test result are missing for every test method.
Expected Behaviour
The arquillian xml report contains report messages and test results for every test method.
Current Behaviour
Report messages and test results are missing.
Steps To Reproduce
Additional Information
We are using arquillian-recorder-reporter-impl 1.1.6.Final in our project. To be precise, the following dependencies can be found in our pom.xml:
Looking deeper into the code, it seems like the
org.arquillian.recorder.reporter.impl.ReporterLifecycleObserver
is expecting moreAfterTestLifecycleEvents
than are actually fired, thus, the test result is never set.