Skip to content

docs: add community examples section to README - #1692

Open
vijayagopalsb wants to merge 1 commit into
TNG:mainfrom
vijayagopalsb:vijayagopalsb-patch-1
Open

docs: add community examples section to README#1692
vijayagopalsb wants to merge 1 commit into
TNG:mainfrom
vijayagopalsb:vijayagopalsb-patch-1

Conversation

@vijayagopalsb

Copy link
Copy Markdown

Adds a link to the devonfw-sample/archunit project as a community example for best practices with ArchUnit.

Relates-to: #1095

Adds a link to the devonfw-sample/archunit project as a community
example for best practices with ArchUnit.

Relates-to: TNG#1095
@vijayagopalsb

Copy link
Copy Markdown
Author

I agree to the DCO for this contribution.

Signed-off-by: Vijayagopal SB vijayagopal.sb@gmail.com

Comment thread README.md
Comment on lines +57 to 67
## Community Examples

The following projects provide additional examples and best practices for using ArchUnit in real-world applications:

- [devonfw-sample/archunit](https://github.com/devonfw-sample/archunit) — A complete layered architecture demo with well-crafted ArchUnit tests and a CI workflow demonstrating violation reporting.

## Where to look next

For further information, check out the user guide at [https://archunit.org](https://archunit.org)
or test examples for the current release at
[ArchUnit Examples](https://github.com/TNG/ArchUnit-Examples).

@hankem hankem Aug 9, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

Three thoughts about it:

  1. For the DCO check to pass, you need to amend your git commit and add the line from your comment there, see also DCO.
  2. I think community examples should be mentioned after the Where to look next section with the user guide and the "official" ArchUnit Examples.
  3. While I'm not opposed to linking community examples in general, I'm not specifically convinced either. I don't want to offend anybody who created devonfw-sample/archunit; it was a nice example when it was created! I just wonder what is so special about it that's "worth" the direct link (and not just be discovered via search engines like other good examples and blog posts on the internet):
    • It's a Maven project using ArchUnit 1.0.1 (released on 2022 Nov 21), illustrating the integration with JUnit5. It basically hasn't been updated for 3 years.
    • TNG/ArchUnit-Examples, on the other hand, contain Gradle and Maven examples for plain ArchUnit as well as its integration with JUnit 4 / 5 / 6; they're guaranteed to work as they're derived from ArchUnit's own build, and automatically updated with every release. If an example was missing, shouldn't we rather add it there?

@hankem hankem added the question Waiting for a response from the author of the issue / PR label Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

question Waiting for a response from the author of the issue / PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants