Documentation ¶
Index ¶
- Variables
- func CountIs[T any](tb testing.TB, iter iterators.Iterator[T], expected int)
- func Create[Entity, ID any](tb testing.TB, subject sh.CRD[Entity, ID], ctx context.Context, ptr *Entity)
- func Delete[Entity, ID any](tb testing.TB, subject sh.CRD[Entity, ID], ctx context.Context, ptr *Entity)
- func DeleteAll[Entity, ID any](tb testing.TB, subject deleteAllDeleter[Entity, ID], ctx context.Context)
- func HasEntity[Entity, ID any](tb testing.TB, subject crud.ByIDFinder[Entity, ID], ctx context.Context, ...)
- func HasID[Entity, ID any](tb testing.TB, ptr *Entity) (id ID)
- func IsAbsent[Entity, ID any](tb testing.TB, subject crud.ByIDFinder[Entity, ID], ctx context.Context, id ID)
- func IsFindable[Entity, ID any](tb testing.TB, subject crud.ByIDFinder[Entity, ID], ctx context.Context, id ID) *Entity
- func Update[Entity, ID any](tb testing.TB, subject updater[Entity, ID], ctx context.Context, ptr *Entity)
Constants ¶
This section is empty.
Variables ¶
View Source
var Eventually = assert.Eventually{ RetryStrategy: &Waiter, }
View Source
var Waiter = assert.Waiter{ WaitDuration: time.Millisecond, Timeout: 5 * time.Second, }
Functions ¶
func IsFindable ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.