Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Test ¶
Test provides a full app setup for testing service behaviour. It returns a context cancellation function for immediate shutdown once all test functions have finished. Usage is a simple call and defer:
func TestMyThing(t *testing.T) { defer bdd.Test(t, nil, fx.Invoke(func(test dependencies...) { r := require.New(t) a := assert.New(t) your behavioural test code... })) }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.