ArchUnit icon indicating copy to clipboard operation
ArchUnit copied to clipboard

Test Reports to document JDK and System details

Open nagkumar opened this issue 3 years ago • 2 comments

It would be nice for report to provide JDK and system details part of its report, as I do see this archunit seems to vary its results based on system and jdk versions..

#928

nagkumar avatar Aug 01 '22 02:08 nagkumar

As I wrote in #928, the reason this differs is likely because the old version completely fails to analyse any classes, leaving you with an empty check (could try to set failOnEmptyShould to confirm this). If you set your logger to INFO you will at least see something like

INFO  com.tngtech.archunit.core.PluginLoader - Detected Java version 11.0.16

What other information are you missing?

codecholeric avatar Aug 09 '22 05:08 codecholeric

Thank You for the log approach.

Was thinking if this info can part of the HTML report view directly..

Helps in debugging the report at more ease. image

nagkumar avatar Aug 10 '22 12:08 nagkumar