title: Limitations of using a C unit testing framework for testing embedded C++ code
body: <p>I would like to try using a unit testing framework for testing the code that I write in C, C++ or sometimes IEC languages too.</p>
  
  <p>So my question is - <strong>is there some big limitation using C-written unit test Framework for testing C++ code</strong> that would restrain me from using it?</p>
  
  <hr>
  
  <p><em>Background info:</em>
   <em>I tried a variety of frameworks available as opensource - that are written in C / C++. And finally I concluded that 'embedded unit' - written in C and 'CppTest' - written in C++ were the candidates (mainly because the testing has to be performed on an embedded platform). But before selecting the winner I fell into this very Basic question . And to my knowledge I find no big limitations. 
  Except that: In C++ Unit testing framework:I can make the testClass a friend of testable class and test its private attributes/ functions (which is not really important for me). sorry if this is a silly question - i just started exploring the world of testing.</em> </p>