github.com/wawandco/ox@v0.13.6-0.20230809142027-913b3d837f2a/plugins/base/test/before_tester.go (about) 1 package test 2 3 import ( 4 "context" 5 6 "github.com/wawandco/ox/plugins/core" 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 core.Plugin 14 15 RunBeforeTest(context.Context, string, []string) error 16 }