mockery provides the ability to easily generate mocks for Golang interfaces using the stretchr/testify/mock package. It removes the boilerplate coding required to use mocks.
mockery provides the ability to easily generate mocks for Golang interfaces using the stretchr/testify/mock package. It removes the boilerplate coding required to use mocks.
To install mockery, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install mockery
To see what files were installed by mockery, run:
port contents mockery
To later upgrade mockery, run:
sudo port selfupdate && sudo port upgrade mockery
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.