For a quite long time I was wondering if logging can be embedded into testNG HTML report. My first thoughts were that this is impossible because somehow someone would have already done that.
A freind of mine proved at work that this can be done quite well and is not very complex.
I want to describe here the concept of putting log output that refers to specific test written using testng framework into its corresponding test message section of HTML unit report.
Further reading here: