github.com/wawandco/oxplugins@v0.7.11/lifecycle/test/before_tester.go (about)

     1  package test
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/wawandco/oxplugins/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  }