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.

TMS320F280049: Integrating CCS IDE with other testing tools like CANoe and VTestStudio via the DSS API using Jython

Part Number: TMS320F280049


Tool/software:

Hello,
I am using the above mentioned controller in one of my project.

We have been performing manual testing of the code. We now wish to automate this testing process.

I have gone through this TI DSS Handbook. shared by TI Team.

However, I am encountering some challenges while integrating CCS IDE with other testing tools like CANoe and VTestStudio via the DSS API. We are currently attempting this integration using Jython, as outlined in the document.

Jython works on python 2 and so it now doesnt support pip , so unable to use external libraries for other testing tools

Regards,

Anil

  • Hi Anil,

    I would highly suggest to use Javascript due to the fact that the new CCS Theia version will support Scripting (using node.js) which is the newer version of the DSS. Here is more information on it. 

    When using Python you'll be limited to Jython with no support for Python 3. Are CANoe and VTestStudio python specific? 

    Best,

    Ryan MA

  • Hello Ryan,

    Can JavaScript scripting be done solely through the command window or CCS scripting console, or can it also be performed using other applications like VSCode?

    CANoe and VTestStudio are utilized to generate test reports and come with Python libraries for this purpose.

    Is there a method, aside from the log feature of DSS, to generate a detailed test report using JavaScript?

    Will Js2Py library work, if I use python3 instead of jython to interact with DSS.

  • Hi Anil,

    JavaScript scripting can be done solely through the command window just like Python. You can also run javascript scripts through other applications like VSCode.

    I believe the only method will be using the Scripting or DSS method in CCS Eclipse.

    I have not used Js2Py library so I cannot provide a solution for that.

    Best,

    Ryan Ma