Message from JavaScript discussions

September 2017

— Why do you think it makes no sense?


Domain? what is domain in this context?
tests only test "application services"??
only application services touch files and dbs?

— Wtf

— Well the domain in this and most software contexts refers to all the business logic. And what that image intends to represent is an architecture where the tests interact with the application services not the domain nor the model layers

Message permanent page

— Sames as the UI or the infrastructures such as db, or others

— So what if there's a bug in the inner layers?

— They won't be tested

— As I said, it's more of an OOP architecture, not usual in JS world

— No, because you can have unit tests

— Have you read the article? xD

— Outter layers have access to all inner layers, but inner layers don't to outter layers

— That sounds like way more coupling than the traditional approach