Place the workdir below the pants_workdir
Review Request #2007 - Created March 30, 2015 and submitted
|benjyw, jinfeng, jsirois|
Locate the TaskTestBase workdir below the pants_workdir, which is automatically cleaned up.
This makes it easier to test Tasks that create synthetic targets, as it is common/best-practice to create synthetic targets within your workdir. Previously this would have failed indicating that the SourceRoot for the synthetic target was outside the BuildRoot.
We use the base classes provided by
testinfrato test our internal Tasks, and encountered this while testing a codegen task.