GoLand
 
Get GoLand
You are viewing the documentation for an earlier version of GoLand.

Using the Testify toolkit

Last modified: 16 January 2023

Programming is not always a straightforward process. Especially, when you need to add a small piece of code to an application and ensure that the whole application works as intended. In this case, testing can help you to maintain code quality and improve its reliability.

GoLand supports the Testify toolkit. Testify provides several packages to work with assertions, mock objects, and testing suites. With Testify, you can run your suites and methods as regular test functions. For more information about the toolkit, read the description of Testify on GitHub.