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
Community Advisor and Adobe Champion
BrianKasingliCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
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