title: Using RSpec internally
body: <p>Another project I'm working on requires a particular folder structure, and I'd like to write a program which will test for the correct structure.</p>
  
  <p>I reckon the best way to do this is to write the specification for that structure in RSpec, then have the program run the tests but customise the output. My problem is, I have no idea where to start! How can I trigger RSpec tests from with another ruby application and capture the output?</p>
  
  <p>Thanks!</p>