Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by BrianKasingli

When trying to use resources such as an PDF in your Java Unit tests, you should place the files in the resourced folder, https://www.baeldung.com/junit-src-test-resources-directory-path

 

1 reply

BrianKasingli
Adobe Champion and Community Advisor
BrianKasingliAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
December 21, 2021

When trying to use resources such as an PDF in your Java Unit tests, you should place the files in the resourced folder, https://www.baeldung.com/junit-src-test-resources-directory-path