Versions in this module Expand all Collapse all v1 v1.0.0 Mar 26, 2023 Changes in this version + type Checker func(resp interactor.Response, err error) + type GivenFn func() interactor.UseCaseRunner + func Given(useCaseRunner interactor.UseCaseRunnerFn) GivenFn + type InteractorTester func(given GivenFn, when WhenFn, then ThenFn) + func Test(tb testing.TB) InteractorTester + type ThenFn func(t testing.TB) Checker + func Then(want interactor.Response) ThenFn + func ThenFailWith(want error) ThenFn + type WhenFn func(useCaseRunner interactor.UseCaseRunner) (interactor.Response, error) + func When(ctx context.Context, req interactor.Request, res interactor.Response) WhenFn Other modules containing this package github.com/screwyprof/interactor/v2