traefik / mocktail

Naive code generator that creates mock implementation using testify.mock

Home Page:https://traefik.io/blog/mocktail-the-mock-generator-for-strongly-typed-mocks/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an ability to generate exported mocks

Ivan-Feofanov opened this issue · comments

Explanation:
I'm using a few packages in my code and I need to use generated mocks in other packages, not only in the package where interfaces are placed.
It's useful, for example, if you have a separate database/repository package and need to mock DB requests for tests in other packages.