Get Application instance
Get DI Container (request-scoped)
Get HTTP test client for making requests
Get Inertia test client for making Inertia requests
Get fake storage service for assertions
Assert the number of records in a table
Optionalname: stringAssert that a record exists in the database
Optionalname: stringAssert that a record does not exist in the database
Optionalname: stringCleanup - call in afterAll
Execute an HTTP request through HonoApp
Get database service instance (resolved in request scope)
Get database service instance (resolved in request scope)
Run seeders by class constructor in the request-scoped container
Truncate all non-prisma tables in the database
Optionalname: stringCreate a WebSocket test request builder for the given path
TestingModule
Provides access to the test application, container, HTTP client, and utilities.
Example