Class MySqlLauncher

java.lang.Object
me.ahoo.cosid.test.container.MySqlLauncher

public final class MySqlLauncher extends Object
Provides a real MySQL for backend contract tests.

Uses cosid.test.mysql.url / COSID_TEST_MYSQL_URL when set, together with cosid.test.mysql.username / COSID_TEST_MYSQL_USERNAME and cosid.test.mysql.password / COSID_TEST_MYSQL_PASSWORD (both default to root). Otherwise starts a shared MySQL container with an empty cosid_db database. Tests should skip when isAvailable() is false.