title: How to get the path of src/test/resources directory in JUnit?
body: <p>I know I can load a file from src/test/resources with:</p>
  
  <pre><code>getClass().getResource("somefile").getFile()
  </code></pre>
  
  <p>But how can I get the full path to the src/test/resources <strong>directory</strong>, i.e. I don't want to load a file, I just want to know the path of the directory?</p>