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

Support HSQLDB or add samples on how to automate Integration Testing with SpringBoot and Flyway #547

Closed
maxsap opened this issue Jun 13, 2017 · 3 comments

Comments

@maxsap
Copy link

maxsap commented Jun 13, 2017

I have been trying to setup automatic integration testing using flyway and Javers but I have not found any proper way to do so, looking into your tests is not really helping since the coverage on the SQL part is non-existing pretty much.
This is partially due to H2 which does not offer any elegant way to truncate the rows of the DB.

So my suggestion would be to either allow controlling the Javers schema externally, or support hsqldb, or provide some sample on how a proper integration test is supposed to be.

@bartoszwalacik
Copy link
Member

bartoszwalacik commented Jun 14, 2017

OK, so what kind of feature you need?

posibility to clean JaversRepository or posibillity to control the Javers schema externally
(we already have the issue for the latter #542)

@maxsap
Copy link
Author

maxsap commented Jun 21, 2017

Well, the schema definitely since this should be controlled from Flyway or some other equivalent tool.
Cleaning the JaversRepository as long as it validates the schema on start.
i.e. given that the schema can be controlled externally, this means that the repo needs to be up to date with the changes.

@bartoszwalacik
Copy link
Member

closing due to lack of activity

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

2 participants