Documentation
¶
Overview ¶
Package sorotest provides schema-isolated Soro application test helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory[T any](app *App, builder factory.Builder[T], options ...repository.OperationOption) (*factory.Factory[T], error)
NewFactory binds a typed factory to the test app's repository for T.
Types ¶
type App ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type Option ¶
type Option func(*settings) error
func Setup ¶
Setup runs after migrations and before the HTTP server starts. Applications normally register resources, custom routes, hooks, and job handlers here.
func WithMigrations ¶
WithMigrations applies migrations before the test app is returned.
Click to show internal directories.
Click to hide internal directories.