[#1452] gradoop store integration test suite #1462
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Divides test methods in gradoop-store into unit and integration tests
Description
This PR adds Category annotations to JUnit tests, and and group annotations to testng tests.
In addition, it adds two new testng suit xml files to gradoop-hbase in order to enable the execution of either unit, or integration tests.
Also, the poms for gradoop-hbase and gradoop-accumulo are altered in such a way, that simply issuing
mvn test
will ONLY run the modules unit tests. The newly addedintegration
profile needs to be added in order to run the integration tests IN ADDITION TO the unit tests.Related Issue
fixes #1452
Motivation and Context
This change enables a faster development workflow. since it is not necessary to run integration test for every change made, these can now be skipped in a simple way. Still, by enabling the integration profile, integration tests are being run, which is important for verification or releases.
How Has This Been Tested?
I issues
mvn test
on the parent module and checked if only the unit tests were being executed. Then i issuedmvn test -Pintegration
and checked whether all the tests were being executed.Types of Changes
Checklist: