title: How to get started on TDD with Ruby on Rails?
body: <p>I am familiar with the concepts (took testing classes in college), but I am not sure how to really use them yet since I never worked on a "real" TDD project.</p>
  
  <p>I am about to start the development of a project using Ruby on Rails (most likely using 2.3). This application will be used to manage data, users and some files. It won't be too complicated at first but might scale a lot in the next 6 months so I feel this is the right time to get more into TDD.</p>
  
  <p>I've got a basic idea on how to do it, but I still need some pointers and advices:</p>
  
  <ul>
  <li><p>What Ruby on Rails TDD 101 article
  should I read?</p></li>
  <li><p>What do I need to test?</p></li>
  <li><p>What gem/plugin should I use?</p></li>
  <li><p>Should I use <a href="http://rspec.info/" rel="noreferrer">rspec</a>? Something else?</p></li>
  <li><p>Once I've got all my testing classes, how do I go and deploy them? (e.g.: Continual Integration)</p></li>
  <li><p>How time consuming TDD really is?</p></li>
  <li><p>Do I need to read a book about this or can I get everything just by playing around with it and reading online tutorials? If I need to read a book, what book?</p></li>
  </ul>
  
  <hr>
  
  <p>I like learning with examples so could someone tell me how I would go and take a TDD approach to solve this issue:</p>
  
  <blockquote>
    <p>I have Companies. I have Contacts. A
    contact can be linked to 1 company. A
    company can have multiple contacts. I
    want to create ways to create
    contacts, companies and link contacts
    to companies.</p>
  </blockquote>
  
  <p><em>You don't have to use this example in your answer but it would help :)</em></p>