github.com/wawandco/oxpecker@v1.5.7-0.20210910201653-5958d4afdd89/lifecycle/test/before_tester.go (about) 1 package test 2 3 import ( 4 "context" 5 6 "github.com/wawandco/oxpecker/plugins" 7 ) 8 9 // BeforeTester interface is suited for those tasks that need to happen 10 // before the tests run, things like setting up environment variables, 11 // clearing the database or other cleanup tasks. 12 type BeforeTester interface { 13 plugins.Plugin 14 15 RunBeforeTest(context.Context, string, []string) error 16 }