Last active
June 1, 2018 08:50
-
-
Save JorgenRingen/7c049265d2c9d4187b9e7a763bfad21d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Testfile located in src/test/resources/testdata/my-test-data.xml. | |
src/test/resources is current directory when running the test, so not needed in path. | |
new String(Files.readAllBytes(Paths.get(this.getClass().getResource("/testdata/my-test-data.xml").getPath()))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment