Hi All,

adding cc. dev@

On 5/31/21 3:05 PM, Carl Marcum wrote:
Hi All,

Just an FYI I've been working on updating the JUnit library used in the test suites for trunk.
Our current 4.10 is ten years old.

I'm doing this in two steps.

First step was the library update to 4.12 in commit 069226d [1]. The only effect of this is users that have ran the automated tests and have a test/lib folder need to delete the junit.jar before compiling the tests again and you will get the 4.12 jar and also hamcrest 2.2 as well. A change in 4.11 was the need to separately include a hamcrest dependency.

Now that is integrated I've submitted PR-131 [2] to go to JUnit 4.13.2 which is the latest in the JUnit 4 series. This required class changes due to changes in JUnit 4.13 which is why I chose to split it up.

BTW, JUnit 5 is the new rewrite of this library but it has a Java 8 dependency and a lot of changes to the API to it's not something I'm looking at currently. However just these updates open up many improvements that can be made in the tests especially the parameterized ones.

*** Anyone who compiles the test suite needs to delete or empty the <project-root>/test/lib directory before compiling to get the correct junit.jar and the new hamcrest.jar required. ***

This will need done again after PR-131 is merged.
I'll post a note here after it's integrated.

[1] https://github.com/apache/openoffice/commit/069226d344055623fb554fac841132ecefce563a
[2] https://github.com/apache/openoffice/pull/131



The test automation has been updated in trunk and AOO42X to use JUnit 4.13.2 (latest JUnit 4) and now includes Hamcrest 2.2 (latest).

Anyone who runs the automated test suites will need to remove the junit.jar from <project-root>/test/lib and you should get the new jars downloaded next time you compile the tests.

Please let me know if you have any questions.

Thanks,
Carl

---------------------------------------------------------------------
To unsubscribe, e-mail: qa-unsubscr...@openoffice.apache.org
For additional commands, e-mail: qa-h...@openoffice.apache.org

Reply via email to