I am writing some reporting extension for Arquillian which hooks to Arquillian lifecycle and collects reports as it goes throught it (container configuration, deployments, test results, tests ... classes, test suites and so on). You can see simple output here (1) and here (2).
I am looking for a way how to get raw logs from container when tests are being performed so I can report them as well. I do not know how to do that absolutely and I do not have any clue. It is possible to kind of inject something into Arquillian extension and get these logs from there?
Thanks a lot!
In case you would be interested, we are doing some screenshooters and video recorders (3) for Arquillian and this reporting extension fits there very nicely. You can basically report everything you want from the test run, screenshot entry in the report is not reported by reporting extension itself but it is fired as Arquillian event externally from screenshooter extension which is on class path (and it is just separate extension from reporting one).