hermannolafs / smokesignal

A simple smoke testing library for Golang. You can use Smokesignal to run build verification tests on your APIs.
MIT License
7 stars 0 forks source link

Smokesignal

Godoc Coverage Status Go Report Card

A simple smoke testing library for Golang.

Currently, the following things can be tested:

Your server needs to fulfill the interface smokesignal.Server For examples see the example package The plan is to add support for binaries so that Smokesignal smoke tests can be run after building the binary, another common smoke test.

type Server interface {
    Run(quit chan os.Signal)
    Stop(ctx context.Context) error
}

Best practice is to tag your smoke tests and run then separately before the rest of your tests

Heavily inspired by steinfletcher/apitest