Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests that check the consistency of the restored schema #17

Open
rocket-3 opened this issue Jul 9, 2021 · 0 comments
Open

Add tests that check the consistency of the restored schema #17

rocket-3 opened this issue Jul 9, 2021 · 0 comments

Comments

@rocket-3
Copy link
Collaborator

rocket-3 commented Jul 9, 2021

The tests that we have now, rely on no exception thrown aspect when executing sequence of dbgit commands

Databasegit application fails to exception in most cases, but most cases are not enough to make sure it isn't broken after some changes made to its code

Sakilla schema restore test (DbGitIntegrationTestBasic#dbToDbRestoreWorksWithCustomTypes) is a good candidate to enable checking of consistency cause it uses source and target sakilla database (the most complicated) and we can perform equality check of these databases somehow.

@rocket-3 rocket-3 added this to the Production-ready milestone Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant