Building of unit tests runner project


In our setup we have many static libraries with unit tests using gtest library. Also we have a single project for executable test runner that links all these static libraries.

I was able to configure the execution of these unit tests from static libraries via setting path to unit tests runner executable in Debugging configuration. So I can run unit tests.

But I have the following problem: when I edit some source file with unit tests and rerun unit tests session my changes are not reflected because only the static library project is built but the unit tests runner is not built.

Can this somehow be fixed?



1 comment
Comment actions Permalink


Sorry, I don't think this can be configured at the moment. You might be able to add a single dummy test to the test runner project and include it into the unit test session to make R# rebuild the test runner project.


Please sign in to leave a comment.