Skip to content

christophersandmann/code-architecture-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code-Architecture-Tests

Given that the code should have this structure

   +-------------+                   +------------+
   |             |------------------>|            |
   | Repoistories|                   |  Entities  |
   |             |         +-------->|            |
   +-------------+                   +------------+
          ^                |
          |                |
          |                |
   +------+------+         |         +------------+
   |             |---------+         |            |
   |  Services   |------------------>|     DTO    |
   |             |         +-------->|            |
   +-------------+         |         +------------+
          ^                |
          |                |
          |                |
   +------+------+         |
   |             |---------+
   |    Views    |
   |             |
   +-------------+

the tests should fail if there is any violation against the ruleset.

Tools to check:

Notes

JqAssistant

Commands:
  • mvn install to analyze system

  • mvn jqassistant:server to start a neo4j-instance on http://localhost:7474/browser/

  • mvn jqassistant:report to create a html-report from the generated html (created in folder /target/site/)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages