clean-gin icon indicating copy to clipboard operation
clean-gin copied to clipboard

Add unit testing related information in the architecture

Open dipeshdulal opened this issue 3 years ago • 3 comments

Enabling unit testing with go-fx

dipeshdulal avatar Jul 30 '21 06:07 dipeshdulal

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

oneart-dev avatar Jun 27 '22 17:06 oneart-dev

@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. https://github.com/wesionaryTEAM/go_clean_architecture/pull/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 avatar Jun 29 '22 02:06 dipeshdulal

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

oneart-dev avatar Jun 29 '22 03:06 oneart-dev