Skip to content

A simple smoke testing library for Golang. You can use Smokesignal to run build verification tests on your APIs.

License

Notifications You must be signed in to change notification settings

hermannolafs/smokesignal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smokesignal

Godoc Coverage Status Go Report Card

A simple smoke testing library for Golang.

Currently, the following things can be tested:

  • Assert if port is used or not
  • Assert GET request to endpoint returns HTTP OK
  • All combinations of the two preceding points

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

About

A simple smoke testing library for Golang. You can use Smokesignal to run build verification tests on your APIs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages