Integrated: 8296283: JUnit5 tests using Params API fails to compile

Ambarish Rapte arapte at openjdk.org
Tue Nov 8 06:07:14 UTC 2022


On Mon, 7 Nov 2022 13:11:27 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:

> This issue was uncovered when running the test added in PR: https://github.com/openjdk/jfx/pull/910
> The JUnit5 tests using Params API fails to compile.
> 
> Fix:
> Change dependency of `junit-jupiter-params` from runtime to compile time.
> From: https://junit.org/junit5/docs/current/user-guide/#overview-what-is-junit-5: it can be understood that packages of JUnit Jupiter other than `TestEngine` are required for test compilation and
> JUnit Platform serves as a foundation for [launching testing frameworks](https://junit.org/junit5/docs/current/user-guide/#launcher-api)
> 
> It seems that changing dependency of this one package is sufficient for this fix.

This pull request has now been integrated.

Changeset: b08f1359
Author:    Ambarish Rapte <arapte at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/b08f1359902882ba97cfdbae64280d1bf10179e3
Stats:     31 lines in 2 files changed: 30 ins; 1 del; 0 mod

8296283: JUnit5 tests using Params API fails to compile

Reviewed-by: kcr

-------------

PR: https://git.openjdk.org/jfx/pull/939


More information about the openjfx-dev mailing list