title: How to assert process.stderr output?
body: <p>I'm building a little command line tool and I hit a problem with testing.</p>
  
  <p>How can test that the current process wrote "omg" in <code>stderr</code>?</p>
  
  <pre><code>process.stderr.write("omg")
  </code></pre>