We noticed that Jtest and Maven can easly integrated. However we did not find Maven C++Test plugin for native project in Maven. How can we integrate Parasoft C++Test with Maven NAR?
C++test does not have integration with Maven. For static analysis I expect it could be possible by simply scanning Maven NAR build with cppetsttrace to capture BDF file and then run analysis on project based on the BDF.
For unit testing it may require different approach. In order to run unit tests, C++test needs to have specific information and project structure to keep C++test unit tests in relation to code being tested, plus other artifacts needed for tests (stubs, data sources, ...). I do not see right now how such test project structure could be plugged into Maven NAR projects.
It would certainly take some research to answer if / how it is possible.
I am also cross-linking related post: