mardi 21 février 2017

Include javadoc in gradle test report

I'm using gradle to build my projects, and would like to customize the test reports for the unit tests (JUnit) so that they include Javadoc for classes and test methods.

For example, the report of a test class could have a header displaying the class's Javadoc. Each @Test method could have a preceding paragraph displaying its Javadoc.

I have read this question (they use maven instead of gradle), which proposes to write a custom RunListener, but I want to know if there is a simpler, potentially gradle-specific solution?

Aucun commentaire:

Enregistrer un commentaire