Categorygithub.com/effective-security/servefiles
modulepackage
0.0.0-20231231152618-8f0e3ad31aae
Repository: https://github.com/effective-security/servefiles.git
Documentation: pkg.go.dev

# README

Coverage Status

servefiles

Packages for unit tests

Cloned from https://github.com/go-phorce/dolly

This clone has slight modifications on the original code.

# Functions

New creates a new instance of the test HTTP server.

# Structs

Server implements a test server that response based on sets of pre-canned response contained in a directory supplied by calling SetBaseDir.

# Interfaces

MinimalTestingT defines the small subset of testing.T that we use having this be an interface makes plugging in other test runs and writing our own tests easier.