I have a test preset named ‘tests-windows’ and I run
ctest --preset tests-windows in order to run my tests. Now I want to generate .xml file with the tests result. I saw people are running
ctest -T test in order to generate the xml file but I guess I can’t use it with test preset. I saw “–output-junit” option in the docs but it’s not part of
buildPresets scheme so I can’t use it neither.
So my question is how can I generate xml file of my tests result (my cmake version is 3.20)?