Files
dolt/integration-tests/go-sql-server-driver
Aaron Son 14efec1153 go: sqle: cluster: Fix MySQLDb and dolt_branch_control replication for the cases where you have more than one standby server in the cluster.
Previously these changes would only get replicated to the first database in the cluster.
2023-12-14 15:11:31 -08:00
..
2023-12-01 17:44:27 -08:00
2023-12-01 17:44:27 -08:00

go-sql-server-driver

This is a driver and a test suite for tests interacting with dolt sql-server. These tests describe a setup for the sql-server(s) which should be running, the interactions which should be run against the servers, and the assertions which should pass given those interactions.

This is meant to be more declarative and more robust than using bats for these integration tests.

Something belongs in this package if it primarily tests interactions with the exposed MySQL port on the sql-server.

Something belongs in bats if it primarily tests interactions with the dolt binary itself. One example for the dolt sql-server command itself would be testing config validation which results in exit codes or help text displayed.