# Functions
CreateProfile creates a profile file with the specified content in the current test profile directory.
ExecuteCommand executes an external command and wait for the command to finish executing.
HasBody asserts that the request received the specified body.
HasCookie asserts that the request received the specific cookies.
HasHeader asserts that the rquest received the specified header with value.
HasMethod asserts that the request received the specified method.
HasPath asserts that the request received the specified path.
HasQueryParam checks if a request has the query parameter with the specified value.
HasRequestCount checks if the number of requests executed so far is the expected.
KillDaemon runs the kill daemon command.
RunHTTP will run the http CLI with the specified arguments, ensure that it finished correctly and return the output.
WithTempFile creates a temporary file, write content to it and then call the wrapped function.
WrapForIntegrationTest wraps a testing function with all the required pieces for an integration test.
WrapWithKillDamon executes a test after calling KillDaemon.
WrapWithTestServer initializes the test server and make sure it will tear down correctly after.