Integration of tests in clion

A few months ago @ivankravets announced in

a 1st release of a platformio plugin for clion and asked for some feedback. I am so free to start here a new thread as I couldn’t find an appropriate one :wink: .

At a 1st glance it looks very well. Most of the features I need are included. IMHO the GUI is much clearer than vscode, but that may be due to the fact that I use the older sister (or should I call it mother :wink: ) idea/intellij since a few years. Integration of git is much smoother - none of the diverse plugins in vscode I’ve tried could really convince me. Also handling of multiple projects at the same time looks more conclusive to me.

But unfortunately there is one great disadvantage - obviously the tests in a project are not really recognized.

Additionally I am missing integration of pio test. Neither in the toolbar (located in the upper right corner) nor in the menu

I can see something to starts tests :frowning:

Could you report this issue to https://youtrack.jetbrains.com/issues/CPP and post back link here? Thanks!

Mission accomplished :wink:

https://youtrack.jetbrains.com/issue/CPP-21173

1 Like

Hello. Test sources are not supported yet, that’s true.
Running of the test implemented as a run configuration

1 Like

Sounds like some kind of workaround - suitable for the moment :wink: Is there a timeline when full support will be established?

That is hardly be a workaround. That’s how other tests are run under CLion


No timeline yet, but you will be notified as soon as something happened with your issue.
Feel free to vote up or watch other platformio-related issues.
https://youtrack.jetbrains.com/issues?q=tag:%20platformio%20%23Unresolved%20

Well, I think that’s a matter of perspective - and convenience. On the one hand a preconfigured menupoint/toolbar button (works out of the box without any user intervention) on the other hand the need to configure a run configuration for every new project (ok - needs only to be done once per project :wink: )