title: TDD ...how?
body: <p>I'm about to start out my first TDD (test-driven development) program, and I (naturally) have a TDD mental block..so I was wondering if someone could help guide me on where I should start a bit.</p>
  
  <p>I'm creating a function that will read binary data from socket and parses its data into a class object.</p>
  
  <p>As far as I see, there are 3 parts:</p>
  
  <p>1) Logic to parse data
  2) socket class
  3) class object</p>
  
  <p>What are the steps that I should take so that I could incrementally TDD? I definitely plan to first write the test before even implementing the function.</p>