Тёмный

Test Driven Architecture (Peter Gafert, Germany) 

jeeconf
Подписаться 10 тыс.
Просмотров 1,5 тыс.
50% 1

jeeconf.com/program/test-driv...
Every complex software product has a variety of architectural concepts that directly affect the code base. Which types of components do we have, how do we identify these components, how do we structure them and how are they allowed to depend on each other and through which interfaces. However, in an agile environment with many developers and distributed roles, it becomes harder and harder to keep a common understanding and a consistent code structure.
If the architecture deteriorates, costs for development will rise. Also fixing the code structures will become more and more expensive, the longer it takes to find and fix architecture violations. Thus every project should establish an automated test process to continuously check for violations and allow developers to fix them, while the costs are still low.
This presentation will show through lots of live coding, how the open source library ArchUnit can help to maintain these structures. ArchUnit at its core imports Java byte code and offers many properties which can then be tested by abstract rules as plain unit tests. Whether certain classes should only be accessed by certain packages, certain annotations mark public API or certain classes form a module that only exports a dedicated API. ArchUnit can be tailored to any project’s needs, it can be used to add missing scopes (like sub-package) or introduce modules similar to Jigsaw in Java 8 or even Java 7 projects.

Наука

Опубликовано:

 

13 май 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1   
@mohamedhimi8535
@mohamedhimi8535 4 года назад
Great library and great work Peter! Great that you provide a way to enforce architectural rules on projects. I used CDA tool (www.dependency-analyzer.org/) to get these insights and also for detection of cyclic dependencies. May be a nice to have feature for the future could be to incorporate some ArchUnit support in IDE's. Something like CheckStyle that gives instant feedback during development.
Далее
NOOOOO 😂😂😂
00:15
Просмотров 2,2 млн
ТРОЛЛИНГ СКАМЕРА СТАНДОФФ 2
00:59
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 787 тыс.
What does larger scale software development look like?
24:15