title: Code coverage for rspec
body: <p>I am rather new to rails, and I am using rspec to write unit tests, integration tests and functional tests. </p>
  
  <p>We want to integrate TDD in our team. While it is a great way to plan how to write functionality, for me it doesn't feel at all like a proper unit test, when it comes to code coverage. </p>
  
  <p>I would like to have insight in the coverage of our unit tests. If I write a method, it should be tested in such a way that the following is ensured:</p>
  
  <ul>
  <li>Every line of code is executed</li>
  <li>Every outcome of boolean expressions (e.g. in <code>if</code>/<code>unless</code> statements) is produced during the test.</li>
  </ul>
  
  <p>I want to be able to get insight in how my tests are doing in terms of these two requirements, i.e. to see my code and see what lines and expressions are being tested and which are not. Is there a tool / gem that you could recommend me that gives me this information?</p>