Riduidel / aadarchi

A maven archetype to generate easily projects allowing architecture description using a mix of C4, agile architecture, Asciidoc and PlantUML
https://riduidel.github.io/aadarchi/
Apache License 2.0
41 stars 12 forks source link

Create a model linting module #312

Closed Riduidel closed 1 year ago

Riduidel commented 1 year ago

This simple enhancer would check for each element some useful things

We should see with Simon Brown what would be interesting, and we should get more ideas from https://c4model.com/bingo/

Se-C12 commented 1 year ago

Should I return a logger.error or a String.format when they are missing ? Also, should I return a logger.info or a String.format with the content is not empty?

Riduidel commented 1 year ago

When things are ok, there is no need to log anything

Riduidel commented 1 year ago

How to test loggers ? https://www.baeldung.com/junit-asserting-logs

Riduidel commented 1 year ago

See also https://github.com/neuland/assertj-logging (which would need a java.util.logging implementation)

Riduidel commented 1 year ago

This Stackoverflow answer may help https://stackoverflow.com/a/1834789/15619