This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TM4C1294NCPDT: Support for gtest and unit test in CCS v6

Part Number: TM4C1294NCPDT


Tool/software: Code Composer Studio

Hi,

I am working on TM4C1294NCPDT using TI-RTOS. I need to implement unit testing framework in gtest. (code is developed in C (driver level code) and C++ (application code))

I would like to know about for below things:

1. Does CCS v6 supports gtest ?

2. If not, please suggest some other way for unit testing. Suggest tools for unit testing which we can use for unit testing with CCS.

  • I am not aware of anyone using GoogleTest with CCS. It sounds like it is available in source so you could attempt to compile the framework with the TI ARM compiler. In a couple articles I read it implied in that it was dependent on an OS being present on the device but it did not state what services were required from the OS. I would imaginet hat there would be some porting of the framework to TI-RTOS required. However I could not find anything that indicated that this had been done.

    Our debugger is scriptable and many people who setup test frameworks leverage that. Debug Server Scripting (DSS) is our scripting framework. This thread has a number of links on the subject:
    e2e.ti.com/.../556391

    Using DSS is combination with JUnit is an option. There are also commerical offerings from VectorCAST, ParaSoft C++ Test and others.

    Regards,
    John