playerproject/player

player test suite

rashadkm opened this issue · 1 comments

How to start test suite of player project?

In cmake configuration, I can see PLAYER_BUILD_TESTS and is ON by default. But I couldn't find any tests.

There isn't a test suite in Player, and the PLAYER_BUILD_TESTS isn't actually used anywhere. There is an option called BUILD_CC_TESTS, which builds a playerc++_test executable that can connect to a running Player server and test several of the interfaces. It's located in <builddir>/client_libs/libplayerc++/test/libplayerc++_test (pass the --help) command to it for usage. There is no make target to run it.

There is also a similar client test in playerc, but there are no CMake rules to build it at the moment.