Home > Blockchain >  How to change the default message structure GoLand uses when generating an automated test
How to change the default message structure GoLand uses when generating an automated test

Time:12-09

I absolutely adore the generate test feature of GoLand.

I would just like to make a really minor adjustment to the error messages that it displays using the gotest framework.

I would really just want to change that string in the t.Errorf() line, how can I do this in the configuration?

t.Errorf

I'd really like to add the args in the parenthesis in the function also I would like to put the want to be on a new line

CodePudding user response:

Edit Test for function template is not available in GoLand at the moment.

Please see and follow GO-10290.

  • Related