dipeshdulal / clean-gin

Implementation of clean architecture in Go, Gin with dependency injection.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add unit testing related information in the architecture

dipeshdulal opened this issue · comments

Enabling unit testing with go-fx

@dipeshdulal Really looking forward to see any example to unit test service or repository properly

@oneart-dev
I don't have a timeline for unit tests added but will be added soon.

In the meantime, you can check this repository where we added unit tests
https://github.com/wesionaryTEAM/go_clean_architecture

This is a pull request that adds it.
wesionaryTEAM/go_clean_architecture#56

We are currently checking the viability of our added unit tests in the projects and checking the development experience.
After it's good enough, I plan to add it over to this repository.

FYI: This is a light and stripped-down version of the architecture mentioned above.

@dipeshdulal thank you. I struggle with uber fx luck of documentation. Your repository helps a lot