This is the Linux app named gomock whose latest release can be downloaded as mock_1.6.0_darwin_amd64.tar.gz. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named gomock with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
gomock
DESCRIPTION
gomock is a mocking framework for the Go programming language. It integrates well with Go's built-in testing package, but can be used in other contexts too. Once you have installed Go, install the mockgen tool. If you have not done so already be sure to add $GOPATH/bin to your PATH. If you use mockgen in your CI pipeline, it may be more appropriate to fixate on a specific mockgen version. Source mode generates mock interfaces from a source file. It is enabled by using the -source flag. Other flags that may be useful in this mode are -imports and -aux_files. Reflect mode generates mock interfaces by building a program that uses reflection to understand interfaces. It is enabled by passing two non-flag arguments, an import path, and a comma-separated list of symbols. The mockgen command is used to generate source code for a mock class given a Go source file containing interfaces to be mocked.
Features
- Source mode operation
- Reflect mode operation
- Generate source code for mock classes
- Modify failure messages
- Integrates well with Go's built-in testing package
- Generate mock interfaces
Programming Language
Go
This is an application that can also be fetched from https://sourceforge.net/projects/gomock.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.