Mockery

Version: 3.5.5 Linux MacOS go testing

Mockery is a project that creates mock implementations of Golang interfaces. It inspects source code and generates implementations of the interface that aid in testing.

In addition to providing a number of different styles of mocks, mockery also allows users to provide their own template files that will then be rendered using a set of template data, methods, and functions that provide comprehensive typing information about the Go interface in question.

Installation Instructions

Linux

Download Artefact
{
  "url": "{{ .SVar `.tool.mockery.download.url` }}",
  "destination_folder": "{{ .PDownloads }}",
  "output_filename": "{{ .SVar `.tool.mockery.download.filename` }}",
  "overwrite": false
}
Extract Release
{
  "destination": "{{ .PTools }}/mockery/{{ .SVar `.tool.mockery.download.version` }}",
  "skip_symlinks": true,
  "preserve_permissions": true,
  "remove_existing": true,
  "source": "{{ .PDownloads }}/{{ .SVar `.tool.mockery.download.filename` }}"
}
Make sure artefact is executable
{
  "path": "{{ .PTools }}/mockery/{{ .SVar `.tool.mockery.download.version` }}/mockery",
  "permission_bits": 504
}

MacOS

Download Artefact
{
  "url": "{{ .SVar `.tool.mockery.download.url` }}",
  "destination_folder": "{{ .PDownloads }}",
  "output_filename": "{{ .SVar `.tool.mockery.download.filename` }}",
  "overwrite": false
}
Extract Release
{
  "destination": "{{ .PTools }}/mockery/{{ .SVar `.tool.mockery.download.version` }}",
  "skip_symlinks": true,
  "preserve_permissions": true,
  "remove_existing": true,
  "source": "{{ .PDownloads }}/{{ .SVar `.tool.mockery.download.filename` }}"
}
Make sure artefact is executable
{
  "path": "{{ .PTools }}/mockery/{{ .SVar `.tool.mockery.download.version` }}/mockery",
  "permission_bits": 504
}

Binaries