ardanlabs / service

Starter-kit for writing services in Go using Kubernetes.

Home Page:https://www.ardanlabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test handler

David-Kalashir opened this issue · comments

Can we put the handler tests in their own directory?

We can at the app layer because these packages are not reusable so we don't need to think in terms of unit tests. This helps reduce the number of instances of the DB we need to start to run the tests.

At the business and foundation layers we need to keep the tests with the package we are testing.