title: How do I get the default temporary directory on Mac OS X?
body: <p>I'd like to create some directories of data for some unit tests and I'd like these directories to be in the default temporary directory for the user.</p>
  
  <p>I could just create a subdir under /tmp I suppose, but I don't want to make an assumption about how somebody has set up their own machine.</p>
  
  <p>I'm planning on writing the test data on the fly, which is why I'd like to put this into a temporary directory.</p>