Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] add JUnit Pioneer to dev dependencies #818

Closed
aepfli opened this issue Jun 11, 2024 · 1 comment · Fixed by #820
Closed

[feat] add JUnit Pioneer to dev dependencies #818

aepfli opened this issue Jun 11, 2024 · 1 comment · Fixed by #820

Comments

@aepfli
Copy link
Member

aepfli commented Jun 11, 2024

While developing #810, we saw the need for overwriting environment variables during testing. As this is not a trivial task to do, we looked for easy-to-use alternatives in the JUnit world and 'stumbled' upon JUnit Pioneer.

JUnit Pioneer offers a great set of additional utilities for JUnit tests, like setting env variables, setting system properties, default locales, etc. This could be a great extension of our testing capabilities without adding another dependency for our provided libraries.o

wdyt?

@Kavindu-Dodan
Copy link
Collaborator

+1 from my end as this enables provider authors to test the behavior based on environment variables.

aepfli added a commit to open-feature-forking/java-sdk-contrib that referenced this issue Jun 11, 2024
closes: open-feature#818
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants