home.social

#archunit — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #archunit, aggregated by home.social.

fetched live
  1. Назад в 2005-й. API-first как третья пилюля от деградации проекта под LLM

    Агент отчитался: экран настроек готов. Поля редактируются, после сохранения выскакивает тост «Сохранено». Я нажал F5 — все настройки вернулись к дефолтным. Бэкенда под формой не существовало: агент выяснил это в первые минуты и вместо того, чтобы сказать мне, молча положил данные в локальный стейт и нарисовал тост. Ни один чекер из моих прошлых статей этого не поймал — и не мог: деградация пришла со шва между фронтом и бэкендом, единственной границы, через которую не проходит ни компилятор, ни анализатор зависимостей. Под катом — как этот шов гниёт под LLM и как его чинит contract-first: генерация серверных интерфейсов и клиента из одного OpenAPI-файла, политика ломающих изменений, правило «не симулируй — расширяй контракт». Попутно — зачем возвращаться к идее, которую мы выбросили вместе с WSDL, и какая из моих проверок после всего этого молча перестала работать. Третья часть цикла, читается самостоятельно.

    habr.com/ru/articles/1063096/

    #llm #aiагенты #claudecode #vibecoding #чистая_архитектура #openapi #apifirst #contractfirst #кодогенерация #archunit

  2. 🏗️ Workshop at Workshop-Tage 2026: Architecture: Creating Architectural Fitness Functions using ArchUnit

    How can you make sure that your software architecture is not only planned, but also followed over time? This is exactly what this hands-on workshop by Venkat Subramaniam on Architectural Fitness Functions with ArchUnit is all about. 🔍 In this workshop, you will learn about different fitness functions that help architects and teams assess the architectural soundness of their systems. You will then implement these rules as practical guardrails using ArchUnit and receive continuous feedback on whether your architectural expectations are being met.

    📅 Tuesday, September 8,
    from 🕘 9:00 AM
    🌍 Workshop language: English

    👉 Register here: eventfrog.ch/de/p/wissenschaft

    #WorkshopTage2026 #CHOpen #OpenSource #Architecture #ArchUnit #SoftwareArchitecture

  3. 🏗️ Workshop at Workshop-Tage 2026: Architecture: Creating Architectural Fitness Functions using ArchUnit

    How can you make sure that your software architecture is not only planned, but also followed over time? This is exactly what this hands-on workshop by Venkat Subramaniam on Architectural Fitness Functions with ArchUnit is all about. 🔍 In this workshop, you will learn about different fitness functions that help architects and teams assess the architectural soundness of their systems. You will then implement these rules as practical guardrails using ArchUnit and receive continuous feedback on whether your architectural expectations are being met.

    📅 Tuesday, September 8,
    from 🕘 9:00 AM
    🌍 Workshop language: English

    👉 Register here: eventfrog.ch/de/p/wissenschaft

    #WorkshopTage2026 #CHOpen #OpenSource #Architecture #ArchUnit #SoftwareArchitecture

  4. Шёл за утечкой памяти, нашёл утечку диска: SXSSFWorkbook без dispose() в Apache POI

    Меня зовут Игорь Симаков, работаю engineering manager’ом и руковожу командами разработки На одном из наших сервисов, который работает с XLSX-файлами, прилетел production-алерт на высокое потребление памяти. Стандартный P3, обычно решается рестартом. Пошёл смотреть поды и нашёл проблему, к памяти отношения не имеющую, но представляющую больший риск, чем сам алерт. Об этом и расскажу ниже: чем «утечка диска» отличается от «утечки памяти», как мы наткнулись на грабли в Apache POI и как закрыли их на уровне архитектуры

    habr.com/ru/articles/1039862/

    #apache_poi #утечка_памяти #kubernetes #java #rss #archunit #spring_boot #производительность

  5. [Перевод] Руководство по ArchUnit — как модульно тестировать архитектуру

    Соблюдение определённой структуры пакетов или архитектуры крайне важно. Особенно в Java, где для корректной работы некоторые элементы должны быть public или действительно доступны за пределами своего пакета. В новом переводе от команды Spring АйО рассмотрим библиотеку с открытым исходным кодом ArchUnit, которая помогает в тех случаях, когда одного компилятора недостаточно.

    habr.com/ru/companies/spring_a

    #java #kotlin #archunit #тестирование #testing #test #spring #spring_boot #spring_framework

  6. Was tun, wenn #JUnit nicht mehr reicht? Christopher Olbertz zeigt, wie #AssertJ für bessere Lesbarkeit sorgt, #ArchUnit Architekturverstöße erkennt & #Mockito Tests entkoppelt.

    Jetzt Teststrategie modernisieren: javapro.io/de/testen-mit-java-

    #CleanCode #JAVAPRO #unittesting #JAVAPRO

  7. Was tun, wenn #JUnit nicht mehr reicht? Christopher Olbertz zeigt, wie #AssertJ für bessere Lesbarkeit sorgt, #ArchUnit Architekturverstöße erkennt & #Mockito Tests entkoppelt.

    Jetzt Teststrategie modernisieren: javapro.io/de/testen-mit-java-

    #CleanCode #JAVAPRO #unittesting #JAVAPRO

  8. Du willst, dass dein Team systematisch testet, & das auch richtig? Christopher Olbertz zeigt dir die passenden Tools für verschiedene Testarten:

    ✔️ Unit-Tests, Architektur-Checks, Mocking komplexer Abhängigkeiten

    Lese: javapro.io/de/testen-mit-java-

    #JUnit #Mockito #AssertJ #ArchUnit

  9. Du willst, dass dein Team systematisch testet, & das auch richtig? Christopher Olbertz zeigt dir die passenden Tools für verschiedene Testarten:

    ✔️ Unit-Tests, Architektur-Checks, Mocking komplexer Abhängigkeiten

    Lese: javapro.io/de/testen-mit-java-

    #JUnit #Mockito #AssertJ #ArchUnit

  10. Architecture boundaries aren’t optional—they’re guardrails.
    With Quarkus + ArchUnit, you can turn BCE/ECB principles into executable tests that fail the build when boundaries erode.

    the-main-thread.com/p/quarkus-

    #Java #Quarkus #ArchUnit #CleanArchitecture #BCE

  11. Architecture boundaries aren’t optional—they’re guardrails.
    With Quarkus + ArchUnit, you can turn BCE/ECB principles into executable tests that fail the build when boundaries erode.

    the-main-thread.com/p/quarkus-

    #Java #Quarkus #ArchUnit #CleanArchitecture #BCE

  12. Du arbeitest im Team & niemand hält sich an Architekturregeln? Mit #ArchUnit lassen sich Paketgrenzen, Namenskonventionen & Schichtenarchitektur automatisiert testen. Architekturdrift? Nicht mit dir.

    Mehr dazu von Christopher Olbertz: javapro.io/2025/09/08/testen-m

    #Java #CleanCode

  13. Du arbeitest im Team & niemand hält sich an Architekturregeln? Mit #ArchUnit lassen sich Paketgrenzen, Namenskonventionen & Schichtenarchitektur automatisiert testen. Architekturdrift? Nicht mit dir.

    Mehr dazu von Christopher Olbertz: javapro.io/2025/09/08/testen-m

    #Java #CleanCode

  14. Viele Teams nutzen JUnit & testen trotzdem ineffizient. Christopher Olbertz erklärt, wo #JUnit an Grenzen stößt & welche Tools wie #Mockito, AssertJ oder #ArchUnit gezielt weiterhelfen.

    Mehr Qualität mit weniger Aufwand: javapro.io/de/testen-mit-java-

    #CleanCode #JAVAPRO #unittesting

  15. Viele Teams nutzen JUnit & testen trotzdem ineffizient. Christopher Olbertz erklärt, wo #JUnit an Grenzen stößt & welche Tools wie #Mockito, AssertJ oder #ArchUnit gezielt weiterhelfen.

    Mehr Qualität mit weniger Aufwand: javapro.io/de/testen-mit-java-

    #CleanCode #JAVAPRO #unittesting

  16. Our next #JCON2025 session is live: 'Unit Test Your #Java Architecture With #ArchUnit' with Roland Weisleder

    #Architecture and #code are drifting more and more apart? The implementation of non-functional requirements and cross-cutting concerns…

    Grab your coffee and hit play: youtu.be/MxP521_i9zM

  17. Our next #JCON2025 session is live: 'Unit Test Your #Java Architecture With #ArchUnit' with Roland Weisleder

    #Architecture and #code are drifting more and more apart? The implementation of non-functional requirements and cross-cutting concerns…

    Grab your coffee and hit play: youtu.be/MxP521_i9zM

  18. ArchUnit против хаоса

    Привет! Я Масгутов Руслан, архитектор в Т-Банке. Одна из моих задач — вести архитектурный надзор по техническим решениям. Проверка структуры проектов при ревью довольно быстро становится скучной рутиной, и появляется желание автоматизировать эту деятельность, чтобы освободить время для более интересных задач. Расскажу, как мы используем ArchUnit для автоматизации архитектурного контроля. Покажу, как мы обернули правила в Gradle-плагин, встроили их в CI/CD, боремся с архитектурными отклонениями до того, как они попадают в pull request, и расскажу о возможности сбора архитектурных метрик.

    habr.com/ru/companies/tbank/ar

    #ArchUnit #Архитектурный_надзор

  19. It was a successful weekend for , the new federated meetup alternative: Now there is a header on every page, and on the homepage the communities are displayed with their picture in a responsive grid. Architecture tests with were introduced and thanks to we have a test coverage of 100%. This gives us a good feeling for refactorings and also when testing PRs. I'm already looking forward to spending a few evenings working on it next week! Screenshots will follow soon! 🤓

  20. It was a successful weekend for #Komunumo, the new federated meetup alternative: Now there is a header on every page, and on the homepage the communities are displayed with their picture in a responsive grid. Architecture tests with #ArchUnit were introduced and thanks to #TDD we have a test coverage of 100%. This gives us a good feeling for refactorings and also when testing PRs. I'm already looking forward to spending a few evenings working on it next week! Screenshots will follow soon! 🤓

  21. Excited for #JCON EUROPE 2025? See Roland Weißleder at #JCON2025 in Cologne talking about 'Unit Test Your #Java #Architecture With #ArchUnit'

    Architecture and #code are drifting more and more apart? The implementation …

    Get your free #JUG Ticket: jcon.one

  22. Excited for #JCON EUROPE 2025? See Roland Weißleder at #JCON2025 in Cologne talking about 'Unit Test Your #Java #Architecture With #ArchUnit'

    Architecture and #code are drifting more and more apart? The implementation …

    Get your free #JUG Ticket: jcon.one

  23. TIL: #ArchUnit 1.4.0 was released almost three weeks ago 🎉

    The new version supports the upcoming #Java 24, enables the use of @AnalyzeClasses as a meta-annotation, improves the performance of transitive dependency checks – and includes several other useful improvements.

    Unit test your architecture with @archunit! ❤️

    github.com/TNG/ArchUnit/releas

  24. TIL: #ArchUnit 1.4.0 was released almost three weeks ago 🎉

    The new version supports the upcoming #Java 24, enables the use of @AnalyzeClasses as a meta-annotation, improves the performance of transitive dependency checks – and includes several other useful improvements.

    Unit test your architecture with @archunit! ❤️

    github.com/TNG/ArchUnit/releas

  25. 2/ Potential improvements:

    * The docs could have an even simpler "Getting started" example or feature overview. Some colleagues had a hard time to quickly grasp what Spring Modulith actually does
    * I wish it could also verify basic inner module structure like no cycles between module layers or only top-down access allowed within module layers. Maybe this is not within the intended scope of Spring Modulith. Will keep using #archunit for this aspect.

  26. 2/ Potential improvements:

    * The docs could have an even simpler "Getting started" example or feature overview. Some colleagues had a hard time to quickly grasp what Spring Modulith actually does
    * I wish it could also verify basic inner module structure like no cycles between module layers or only top-down access allowed within module layers. Maybe this is not within the intended scope of Spring Modulith. Will keep using #archunit for this aspect.

  27. Nächsten Montag (!) treffen wir uns wieder bei adesso. Es gibt einen spannenden Vortrag zu #ArchUnit . Damit geht der #softwarearchitecture Monat der JUG zu Ende. Meldet euch an und kommt vorbei! #java #community eventbrite.com/e/archunit-unit

  28. Nächsten Montag (!) treffen wir uns wieder bei adesso. Es gibt einen spannenden Vortrag zu #ArchUnit . Damit geht der #softwarearchitecture Monat der JUG zu Ende. Meldet euch an und kommt vorbei! #java #community eventbrite.com/e/archunit-unit

  29. 📢 #jMolecules 2023.1.5 is here! Stable automatic module names, a fix in #APT processing, #DDD #ArchUnit verifications, and the usual dependency upgrades. Grab it while it's 🔥! ☕️⚗️ github.com/xmolecules/jmolecul

  30. 📢 #jMolecules 2023.1.5 is here! Stable automatic module names, a fix in #APT processing, #DDD #ArchUnit verifications, and the usual dependency upgrades. Grab it while it's 🔥! ☕️⚗️ github.com/xmolecules/jmolecul

  31. Die Software-Architektur sauber und wartbar zu halten, kann eine Herausforderung sein. In meinem neuesten Blogbeitrag gehe ich auf ArchUnit ein und zeige, wie man damit sicherstellt, dass die Architektur auf Kurs bleibt!

    Wenn du als Entwickler deine Codequalität verbessern und Architekturregeln durchsetzen willst, ist dieser Beitrag genau das Richtige für dich! 💡

    codecentric.de/wissens-hub/blo

    #softwaredevelopment #ArchUnit #codemaintenance #qualitycode #developerlife #codingtips codecentric AG

  32. Die Software-Architektur sauber und wartbar zu halten, kann eine Herausforderung sein. In meinem neuesten Blogbeitrag gehe ich auf ArchUnit ein und zeige, wie man damit sicherstellt, dass die Architektur auf Kurs bleibt!

    Wenn du als Entwickler deine Codequalität verbessern und Architekturregeln durchsetzen willst, ist dieser Beitrag genau das Richtige für dich! 💡

    codecentric.de/wissens-hub/blo

    #softwaredevelopment #ArchUnit #codemaintenance #qualitycode #developerlife #codingtips codecentric AG

  33. @javahippie Das Aufwand-Argument ist einer der Treiber hinter #jMolecules: Annotationen und Interfaces für etablierte Mustersprachen. Darauf aufbauend dann Zweizeiler für die Verifikation per #ArchUnit (github.com/xmolecules/jmolecul) / #jQAssistant. Teilweise sogar schon per Compiler / APT (github.com/xmolecules/jmolecul). Niemand will solche Regeln ständig neu schreiben.

  34. @javahippie Das Aufwand-Argument ist einer der Treiber hinter #jMolecules: Annotationen und Interfaces für etablierte Mustersprachen. Darauf aufbauend dann Zweizeiler für die Verifikation per #ArchUnit (github.com/xmolecules/jmolecul) / #jQAssistant. Teilweise sogar schon per Compiler / APT (github.com/xmolecules/jmolecul). Niemand will solche Regeln ständig neu schreiben.

  35. 🥁📢 #SpringModulith 1.2 RC1 is out! Upgrades to Boot 3.3 RC1, #ArchUnit 1.3, and #jMolecules 2023.1.3. Improved docs and starter JARs. Check out the full release announcement here: spring.io/blog/2024/04/19/spri 🍃📦

  36. 🥁📢 #SpringModulith 1.2 RC1 is out! Upgrades to Boot 3.3 RC1, #ArchUnit 1.3, and #jMolecules 2023.1.3. Improved docs and starter JARs. Check out the full release announcement here: spring.io/blog/2024/04/19/spri 🍃📦

  37. #ArchUnit 1.3.0 has been released 🎉

    Supports #Java 23 and contains fixes and new features. Check it out at github.com/TNG/ArchUnit/releas

  38. #ArchUnit 1.3.0 has been released 🎉

    Supports #Java 23 and contains fixes and new features. Check it out at github.com/TNG/ArchUnit/releas

  39. Today (on my live coding stream) I found that the best way to get ChatGPT 4 to give you a good answer is to give it an already working answer, ask it to simplify it, and then correct its wrong answer with information provided by a viewer.

    Otherwise it was over an hour of trying (and failing) to get it to create a working ArchUnit test that would compile, let alone test the right thing.

    #Java #ChatGPT #ArchUnit

    twitch.tv/videos/2102181288

  40. Just threw together an ArchUnit rule to ensure a "reconstitute" method on an Aggregate can only be called from a Repository class. Not nearly as hard as I thought it'd be! (Though the ArchUnit docs continue to suffer from anemic/incomplete examples.)

    #Java #ArchUnit

  41. #jMolecules Integrations 0.19 released! Improvements in code generation, dependency setup and #ArchUnit rules. Use BOM version 2023.1.2. github.com/xmolecules/jmolecul