Qytera-Gmbh / QTAF

QTAF is a Java test framework based on TestNG and offers easy setup of Selenium and fast extensibility.
https://qytera-gmbh.github.io
MIT License
10 stars 0 forks source link

Missing dependency for html report #263

Open MoritzSalein opened 7 months ago

MoritzSalein commented 7 months ago

If I activate in qtaf.json the html report feature with "htmlReport": { "enabled": true } then I cannot find a html report file in the log directory. I don't get an error message for a missing dependency. After i add the dependency explicit in the qtaf.json, it will generate the log.

  1. Why don't we get the dependency resolved automatically?
  2. Why can't we find a description of how to add the dependency in the manual?
OliverHoenig commented 6 months ago

Hello Moritz, a description of the HTML plugin can be found in the documentation:

https://qytera-gmbh.github.io/projects/qtaf/sections/steps/HTML_Report_Plugin/ However, the documentation seems a bit contradictory to me. Would you like to see further improvements here. If so, which ones?

I agree that this behaviour is somewhat unintuitive. An error message indicating the absence of the dependency would be helpful in my opinion. As you suggested, it would probably be even better if the dependency could be added automatically by QTAF when the HTML report is set to "true" in the qtaf.json. We should discuss what behaviour we think makes the most sense and turn this issue into a feature request.

MoritzSalein commented 6 months ago

In my situation, I got this auto generated qtaf.json config with an enabled htmlReport. Then my expectation is that my test script will run with the pre-configured feature or I'll get an error, that I use a not implemented (depended) feature.