Skip to main content

Module mysql

Module mysql 

Source
Expand description

Shared reusable MySQL container for integration tests.

The container provides a root connection to the default mysql system database. Creating per-test databases and granting product users stays with the product test harness, which can register database names via crate::state::SharedContainerState::remember_resource so stale databases are pruned on later runs.

Structs§

MysqlTestContainer
Handle to the suite’s shared MySQL container.