ArchUnit: Unit test your Java architecture Spring Boot Example

preview_player
Показать описание
ArchUnit is a free, simple and extensible library for checking the architecture of your Java code using any plain Java unit test framework.

TIMESTAMPS
0:00 Intro of ArchUnit library
1:29 Dependency for ArchUnit
1:59 ArchUnit Rules for Model class
6:43 ArchUnit Rules for Repository class
10:14 ArchUnit Rules for Service class
12:28 ArchUnit Rules for Controller class
14:16 General coding rules set
16:38 Layered Architechural Rules
18:00 Thank you

ABOUT OUR CHANNEL
Our channel is about Java programming language. We cover lots of cool stuff for java programming and spring boot
Check out our channel here:
Don’t forget to subscribe!
Рекомендации по теме
Комментарии
Автор

Great presentation. One query: This all seems like these rules are typed as part of a code base. What about microservices environment, where we want several projects to follow the same set of rules? Does that mean we bundle ArchUnit tests as a custom jar and add it to all projects?

TheodoreRavindranath
join shbcf.ru