title: Test data directory with jUnit
body: <p>I'm writing some jUnit tests that depend on data files.  Where should those data files go? And how would I (in the jUnit tests) get the location of that directory?</p>
  
  <p>In Python, I would use something similar to:</p>
  
  <pre><code>datadir = os.dirname(__file__) + "/data/"
  </code></pre>