title: How to mark a directory as a generated-test-source root in IntelliJ?
body: <p>I'm trying out Dagger2 in Intellij 2016.1 (but not with gradle) on ubuntu.</p>
  
  <p>Intellij creates dagger's generated sources in either
  <code>./out/production/&lt;ProjectModule&gt;/generated/</code> or
  <code>./out/test/&lt;ProjectModule&gt;/generated_tests/</code> depending on if it was generated from a source or test directory, respectively.</p>
  
  <p>But from what I tell, I can only mark those directories as either <code>sources root</code>, <code>test sources root</code>, or <code>generated sources root</code>; there is no option for <code>generated test sources root</code>, say.</p>
  
  <p>Why is this important? Because the generated test sources depend on <em>my</em> test sources. If they are marked as a <code>generated sources root</code> then Intellij cannot find the dependencies.</p>
  
  <p>Note: I don't think they should be marked as <code>test sources root</code> because then Intellij tries to compile those again; unless there is some way of preventing this of which I am unaware.</p>
  
  <p>So is there a way to mark this directory as a <code>generated test sources root</code> or something equivalent?</p>