title: A common setup and teardown method for Erlang Eunit test suites
body: <p>I am trying to check if all the indexes I have defined in MongoDB are being used by my application and that there are no extra indexes. I have a utility that does that for a single <code>Eunit</code> test suite. However, some of my components have more than one <code>Eunit</code> test suite and I was wondering if there is a way to run common code before any of the test suite is invoked and then run a common teardown code after all the test suites are finished. I am using <code>rebar</code> to invoke the <code>Eunit</code>.</p>
  
  <p>Thanks in advance.</p>