Skip to content

Document the stupidest way to start a ephemeral server from code #17

@josephholsten

Description

@josephholsten

Sometimes it's nice to do integration tests when for talking to chef. The net/http package does these end-to-end tests in places like src/pkg/net/http/client_test.go:70.

It would be lovely to have a one-liner to spin up goiardi from code with something less dirty than exec.Command(). Obviously it wouldn't need real persistence or TLS or perhaps even signal handling.

(This is all part of my grand scheme to get discoteq, chef-golang and goiardi into debian unstable.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions