Bringing all integration tests in the 'maven tree'
Mihai Nita
Branch: mihai_it
mihai_it
Branch: dev
dev
Merged
#501 · Created · Last updated
Merged pull request
Merged in mihai_it (pull request #501)
a7b2647·Author: Mihai Nita·Closed by: Mihai Nita·2021-03-19
Description
Changes
created a profile (run_it)
adding the integration tests as modules (applications and okapi; pensieve was already there)
removed the maven plugins from the integration tests pom(s), inheriting
renamed some files from *Test.java to *IT.java (maven convention)
So now if you do mvn install then integration tests are skipped, if you do mvn verify -P run_it then they will run.
We can switch to an opt-out mode (run them by default and explicitly skip them) if we decide to go that direction. I am afraid that the “ant” bump gets in the way though , at least for now. Need to experiment with that.
So let’s consider this “a step towards”, not the final solution :-)
Changes
created a profile (run_it)
adding the integration tests as modules (applications and okapi; pensieve was already there)
removed the maven plugins from the integration tests pom(s), inheriting
renamed some files from *Test.java to *IT.java (maven convention)
So now if you do
mvn install
then integration tests are skipped, if you domvn verify -P run_it
then they will run.We can switch to an opt-out mode (run them by default and explicitly skip them) if we decide to go that direction. I am afraid that the “ant” bump gets in the way though , at least for now.
Need to experiment with that.
So let’s consider this “a step towards”, not the final solution :-)