digiwf-core icon indicating copy to clipboard operation
digiwf-core copied to clipboard

Setup ArchUnit

Open simonhir opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

As a developer i want that the complete code complies with the ADRs. In specific i want that naming conventions, package structure is correctly used.

Describe the solution you'd like

  • Setup ArchUnit tests
    • Need to be discussed where the tests should go
  • Implement ADRs as ArchUnit tests (i.e. integrations hexagonal architecture and naming conventions)

Describe alternatives you've considered

  • The code architecture is not checked and is not correctly implementing all ADRs

Acceptance Criteria

  • [ ] It is defined where which ArchUnit tests should go
  • [ ] ArchUnit verifies integration architecture, i.e.:
    • Package concerns
    • Naming conventions

Additional context

  • https://github.com/it-at-m/digiwf-core/tree/dev/digiwf-libs/digiwf-testing/digiwf-unit-test/src/main/java/de/muenchen/oss/digiwf/archunit

simonhir avatar Mar 15 '24 11:03 simonhir