googleapis / googleapis/google-cloud-java

[sdk-platform-java] Update environment variable unit tests with Junit 5 features after dropping Java 8 support

Open
#12,433 0 comments 0 reactions 0 assignees View on GitHub
next major: breaking change priority: p3 type: cleanup
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

We tried to use Junit 5 extensions to update unit tests that depends on preset environment variables (see googleapis/sdk-platform-java#2799).

However, `junit-pioneer` is not compatible with Java 8 (so as other extensions like [system-stubs](https://github.com/webcompere/system-stubs)).

We should update unit tests after dropping Java 8 support. See https://github.com/googleapis/sdk-platform-java/pull/2724#discussion_r1605456611 for details.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.