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

refactor(test): Refactor GraphService tests #2944

Conversation

EnricoMi
Copy link
Contributor

This refactors ElasticSearchGraphServiceTest.java and Neo4jGraphServiceTest.java to reduce code duplication and establish a set of tests shared across those GraphService implementations. This ensures all implementations are tested in the same way, while individual implementations can still add implementation specific tests.

Adding another GraphService implementation can then easily be tested at the same level as existing implementations.

@shirshanka
Copy link
Contributor

LGTM, @gabe-lyons to take a look.

@EnricoMi
Copy link
Contributor Author

EnricoMi commented Aug 2, 2021

@shirshanka @gabe-lyons thanks for looking into this. Can this go forward? I have more contributions that base on this.

Copy link
Contributor

@gabe-lyons gabe-lyons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @EnricoMi - this is great

Copy link
Contributor

@shirshanka shirshanka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks @EnricoMi

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

Successfully merging this pull request may close these issues.

3 participants