Axel Kennedal
Axel Kennedal

Reputation: 555

CLion not showing Google Tests in tree view

I've created a C++ project in CLion with support for Google Tests (based on a starter project available here).

I can run tests as expected, with the exception that they don't show up in the hierarchical tree view of the test runner: enter image description here

What I would expect to see is the test suite name (InputOutputTestSuite) as a node, with the tests (CanReadAndWriteEmptyBoard, CanReadAndWriteKingBoard) in it as children. My test suite looks like this:

enter image description here

And I'm using a Google Test run configuration to run all test suites and all tests: enter image description here

Any ideas why the tree view is not working?

UPDATE: The tree view shows only failed tests, by the look of it: enter image description here

Upvotes: 1

Views: 900

Answers (1)

LazyOne
LazyOne

Reputation: 165433

Please enable Show Passed option (in red):

enter image description here

Upvotes: 4

Related Questions