Hello
From documentation, we can read:
Note that the sub-directory is created automatically and that it will be inside the directory containing the source code of the test, not the current working directory of the test process.
This is not what I get in my project:

We can see in the screenshot that the output_test_case is created in CMAKE_BINARY_DIR instead of CMAKE_SOURCE_DIR, as
we would expect because this is where tests.cpp is located. I have the same issue with Makefile and Ninja generators, btw.
Best regards
Pierre