Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

IAR Embedded Workbench Support - Details

elch
elch Posts: 95
edited January 2019 in C/C++test

Hi,

Parasoft C/C++test Professional 10.4.1 . Regarding IAR support.
I understand the support in compilers , but how it supports in environment , according to:
https://docs.parasoft.com/display/CPPDESKE1041/About+EWARM

Can the product support IAR IDE ?

Thanks

Tagged:

Best Answer

Answers

  • Hi @elch,

    IAR IDE is closed environment. It does not provide API that would allow to plug into it and give us all the needed functions to implement C/C++test functionality.
    Therefore, we need to work with IAR compiler directly, and recommend use of C/C++test Professional Standalone (Eclipse-based).

  • elch
    elch Posts: 95

    Hi @Bogdan Czwartkowski

    So everything is done from eclipse ?

    Thanks

  • Mirek
    Mirek Posts: 141 admin

    Hi @elch,

    In general yes, all the testing actions are done from eclipse however, we use the IAR C-spy interface for running unit tests on target or simulator. So once the test executable is ready C/C++test calls C-spy, via the script generated by IAR IDE and then IAR debug engine handle all the actions for binary execution.

  • elch
    elch Posts: 95

    Hi @Mirek

    Thanks on the details
    What are the advantages of running unit testing with C++ with C-spy ?

    Thanks

  • Mirek
    Mirek Posts: 141 admin

    Hi @elch

    What are the advantages of running unit testing with C++ with C-spy ?

    This way we can achieve full automation, IAR debugger interface handle all actions required to download the test executable, start execution and collect results.

    Also IAR provides simulators in case user does not want to run on real hardware. Simulator based execution is also handled by Cspy

  • elch
    elch Posts: 95

    Hi @Mirek

    One question please.
    So we need Unit Testing & Coverage license to handle such cases.

    Thanks