Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for TestFlag (0.29 sec)

  1. src/cmd/go/testdata/script/help.txt

    stderr 'Run ''go tool vet -help'' for an overview.'
    
    # Earlier versions of Go printed a large document here, instead of these two
    # lines.
    ! go test -h
    stderr 'usage: go test'
    stderr 'Run ''go help test'' and ''go help testflag'' for details.'
    
    # go help get shows usage for get
    go help get
    stdout 'usage: go get'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_flags.txt

    ! go test -covermode=walrus ./x
    stderr -count=1 'invalid value "walrus" for flag -covermode: valid modes are .*$'
    stderr '^usage: go test .*$'
    stderr '^Run ''go help test'' and ''go help testflag'' for details.$'
    
    # Passing -help to the test binary should show flag help.
    go test ./x -args -help
    stdout 'usage_message'
    
    # -covermode, -coverpkg, and -coverprofile should imply -cover
    go test -covermode=set ./x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:53:14 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/test.go

    flags are also accessible by 'go test'. See 'go help testflag' for details.
    
    For more about build flags, see 'go help build'.
    For more about specifying packages, see 'go help packages'.
    
    See also: go build, go vet.
    `,
    }
    
    var HelpTestflag = &base.Command{
    	UsageLine: "testflag",
    	Short:     "testing flags",
    	Long: `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  4. src/testing/testing.go

    //	)
    //
    //	func TestAbs(t *testing.T) {
    //	    got := abs.Abs(-1)
    //	    if got != 1 {
    //	        t.Errorf("Abs(-1) = %d; want 1", got)
    //	    }
    //	}
    //
    // For more detail, run "go help test" and "go help testflag".
    //
    // # Benchmarks
    //
    // Functions of the form
    //
    //	func BenchmarkXxx(*testing.B)
    //
    // are considered benchmarks, and are executed by the "go test" command when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  5. src/cmd/go/alldocs.go

    //	modules         modules, module versions, and more
    //	module-auth     module authentication using go.sum
    //	packages        package lists and patterns
    //	private         configuration for downloading non-public code
    //	testflag        testing flags
    //	testfunc        testing functions
    //	vcs             controlling version control with GOVCS
    //
    // Use "go help <topic>" for more information about that topic.
    //
    // # Start a bug report
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top