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
40 stars 12 forks source link

Allow visitor tests #301

Closed Riduidel closed 1 year ago

Riduidel commented 1 year ago

Curently the ArchitectureEnhancer class uses an injected list of Enhancer (the @Inject @UsesComponent(description="Uses all enhancers") Instance<Enhancer> enhancers; line). This prevents easy test of Enhancer (because it will always use all the Enhancer that are accessible by CDI). Using this as a non-injectable parameter would allow us to test our Enhancers in real conditions.