package
0.1.6
Repository: https://github.com/nytimes/httptest.git
Documentation: pkg.go.dev

# Functions

AppendHostsFile appends a string to /etc/hosts as a new line.
ApplyConfig applies config.
FromEnv returns config read from environment variables.
ParseAllTestsInDirectory recursively parses all test definition files in a given directory.
PrintTestResult prints result of a single test.
PrintTestSummary prints summary info for multiple tests.
ProcessDynamicHeaders creates headers based on the function and adds them to the map of all headers.
RunTest runs a single test.
RunTests runs all tests.
SendHTTPRequest sends an HTTP request and returns response body and status.

# Structs

Config stores application configuration.
No description provided by the author
HTTPRequestConfig type.
Test is a single test.
TestFile is a single test definition file.
TestResult stores results of a single test.