Go Tool for Review Bot
Review Request #11240 — Created Oct. 23, 2020 and submitted — Latest diff uploaded
This tool's ability to format was removed and placed into another tool,
that tool is tentatively known as the GofmtTool. This was done because,
go fmt
is rather lightweight and does not rely on other files in order
to carry out its function. However,go test
andgo vet
require more
information in order to work consistently. In particular they need
access to the entire repository so that patched code can be fully
analyzed against the package code. Therefore GofmtTool inherits from
Tool
, whereas GoTool inherits fromRepositoryTool
and is generally
a much more computationally heavy tool.
Manual testing was done to confirm that
go test
is working correctly.
As of now it just creates general comments based on which tests have
failed.
Manual testing was done to confirm thatgo vet
is working and known
issues about failures when used against test files have been resolved.