googleapis / googleapis/google-cloud-java

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

Đang mở
#12,433 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
next major: breaking change priority: p3 type: cleanup
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.