Where is my test runner tab?

Answered

I run a series of boost test and the output is shown as text:

/root/CLionProjects/myProject/cmake-build-debug/Boost_Tests_run
Running 30 test cases...

 

Only the failed tests are shown.

How do i get a full test output?

0
8 comments

Hi!

Do you run a Boost.Test run/debug configuration? If yes, then results should be shown like this: https://www.jetbrains.com/help/clion/boost-test-support.html#test-runner and you should be able to click "Show Passed" icon on the Test Runner tab

0

Hi Anna,

I do not see the results like that, i just see a command line output. This is my setup:

 

 

Result after running:

0

Ok, i have the test-runner tab, i think, but it does not show a test view.

I added a new test-configuration but wheni runit is do not see the progress bar or tree view, just the console output again.

New configuration:

Test results:

0

Here is the detailed instruction about Boost.test: https://www.jetbrains.com/help/clion/boost-test-support.html. Please follow it. Hope it helps.

0

Hi Anna,

I did follow the instructions, and then i get the screenshots shown above.

Ivana

0

I've opened our sample projects with Boost test (https://github.com/anastasiak2512/Calendar) in CLion 2019.3, did Create 'calendar_calc_suite' in calendar_calc_test.cpp:

And ran the created configuration. The results are shown correctly in the Test Runner tab:

You can check whether this project works on your side and try using this project as a reference.

0

Hi, thanks for walking me through this.

How do you get the context menu to create the calendar_calc_site?

(I have CLion 2019.2.5)

 

Ivana

0

You need to click on the gutter icon near BOOST_AUTO_TEST_SUITE(calendar_calc_suite)

0

Please sign in to leave a comment.