julien-duponchelle / python-mysql-replication

Pure Python Implementation of MySQL replication protocol build on top of PyMYSQL
2.33k stars 679 forks source link

Modify test structure #502

Closed heehehe closed 1 year ago

heehehe commented 1 year ago

Resolve #499

Overview

As we add test for MySQL 8 in https://github.com/julien-duponchelle/python-mysql-replication/pull/484, we need to create an additional class to test everything against MySQL 8.

So instead of creating a class based on the database, we'd like to change the test structure, so that we only need to parameterize which database we want to test against and the entire list of tests will be triggered.

Changes

Result

image

Collaborated with @mjs1995 @mikaniz @starcat37