Documentation
¶
Overview ¶
Package platformtest runs commands against a fake platform: an httptest server whose endpoints a test declares, which records every request it receives.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Home ¶
Home gives the test an empty home directory. Go reads USERPROFILE for it on Windows and HOME elsewhere, so both are set.
Types ¶
type Platform ¶
type Platform struct {
Client *platform.Client
URL string
// contains filtered or unexported fields
}
func (*Platform) Handle ¶
Handle answers "METHOD /path"; a path segment written as * matches any value.
Click to show internal directories.
Click to hide internal directories.