Goland and testify
Is there a way to autogenerate testify framework tests?
https://plugins.jetbrains.com/plugin/10460-golang-mockery I found this plugin, but do not know how to use it.
Please sign in to leave a comment.
Is there a way to autogenerate testify framework tests?
https://plugins.jetbrains.com/plugin/10460-golang-mockery I found this plugin, but do not know how to use it.
Please sign in to leave a comment.
The IDE does not currently support the Testify framework. If you'd like to have support for it, please vote/watch the issue for it.
The plugin you mentioned needs to be installed then you can use the Generate action via Code | Generate... which will bring up a dialog to select which interface should be mocked. If you need any further help, please feel free to reply here.
I have voted up. Concerning the plugin - I did install it and pressed the generate action, and nothing happened. Though, I assume that this is because I do not know the mocking, not because of the plugin:)
Thank you, Florin!
Now that Goland does support the Testify framework it would be great to be able to generate tests using Testify instead of stdlib.
Hello @..., feel free to go to our issue tracker and fill out a new request. Also, please, provide generate examples. Thank you.
Done: https://youtrack.jetbrains.com/issue/GO-10271