Skip to content

testing,go-test: document the behavior of testing.Log{f} #5174

Closed

Description

@gopherbot

by ian.nevir.net:

go test eats output on successful runs; which can be confusing if you're not aware of
that (particularly when trying to debug init() code).  This behavior doesn't appear to
be directly documented anywhere.

go help test, and probably the testing package, should document it.  The only
documentation I can find about this is hidden away in go help testflags, and that's only
indirect documentation (the -v flag)

Activity

  1. robpike commented on Apr 1, 2013

    @robpike
    Contributor

    Comment 1:

    Status changed to Started.

  2. robpike commented on Apr 1, 2013

    @robpike
    Contributor

    Comment 2:

    This issue was closed by revision 144dd2b.

    Status changed to Fixed.

  3. locked and limited conversation to collaborators on Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions