Help us shape the future of Go! Take the 2026 Go Developer Survey

testutils

package
v1.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunHttpxAndGetCombinedResults

func RunHttpxAndGetCombinedResults(url string, debug bool, extra ...string) (string, error)

RunHttpxAndGetCombinedResults returns the results as a single string variable

func RunHttpxAndGetResults

func RunHttpxAndGetResults(url string, debug bool, extra ...string) ([]string, error)

RunHttpxAndGetResults returns a list of the results

func RunHttpxBinaryAndGetResults

func RunHttpxBinaryAndGetResults(target string, httpxBinary string, debug bool, args []string) ([]string, error)

RunHttpxBinaryAndGetResults returns a list of the results

Types

type TestCase

type TestCase interface {
	// Execute executes a test case and returns any errors if occurred
	Execute() error
}

TestCase is a single integration test case

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL