AnsweredAssumed Answered

Unit Testing in MQX Projects

Question asked by sam s on Apr 4, 2013
Latest reply on Apr 4, 2013 by Martin Latal

Hi everybody,

I have MCF 522259 with codwarrior 10.2 and MQX 3.8.

I want to use Cppunit in CodeWarrior too, but I couldn't add it to my project.

In fact I added it to path and CodeWarrior can find header files, but for building the project I am getting so many error messages like:

=#include <string>

>the file 'string' cannot be opened

 

OR

 

(C:\cppunit\include\cppunit\TestCase.h|32|20|3|706|3)

=    TestCase( const std::string &name );

>declaration syntax error

 

 

does anyone know how to use unit testing frameworks like cppUnit in codewarrior?

 

Regards

 

Outcomes