title: What does unit testing mean to you?
body: <p>G'day,</p>
  
  <p>I am working with a group of offshore developers who have been using the term unit testing quite loosely.</p>
  
  <p>Their QA document talks about writing unit tests and then performing unit testing of the system.</p>
  
  <p>This doesn't line up with my interpretation of what unit testing is at all.</p>
  
  <p>I am used to unit testing being a test or suite of tests that are being used to exercise a single class, usually as a black box. The class under test may require other classes to be included by the implementation but generally it is a single class that is being exercised by the unit test(s).</p>
  
  <p>Then you have system functional testing, intergration testing, acceptance testing, etc.</p>
  
  <p>I want to know is this a bit pedantic on my part? Or is this what you think of when referring to unit tests and unit testing?</p>
  
  <p>Edit: Rob Wells. I need to clarify that approaching such testing from a black box perspective is only one aspect. When using mock objects to verify internal behaviours, you are really testing from a white box perspective because you know what you want to happen inside the box.</p>