testutils

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunHttpxAndGetCombinedResults added in v1.2.5

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 added in v1.1.4

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