more code coverage
diff --git a/examples/all_features/CMakeLists.txt b/examples/all_features/CMakeLists.txt
index 2905f27..a0f9194 100644
--- a/examples/all_features/CMakeLists.txt
+++ b/examples/all_features/CMakeLists.txt
@@ -22,33 +22,37 @@
doctest_add_executable(${PROJECT_NAME} ${files})
target_compile_definitions(${PROJECT_NAME} PRIVATE DOCTEST_CONFIG_COLORS_NONE DOCTEST_CONFIG_NO_POSIX_SIGNALS) # easy way to fix test coverage
+set(common_test_args COMMAND $<TARGET_FILE:${PROJECT_NAME}> --no-skipped-summary=1)
+
# add per-file tests
foreach(f ${files})
- doctest_add_test(NAME ${f} COMMAND $<TARGET_FILE:${PROJECT_NAME}> --dt-no-skipped-summary=1 --source-file=*${f})
+ doctest_add_test(NAME ${f} ${common_test_args} -sf=*${f})
endforeach()
-# queries
-doctest_add_test(NAME help COMMAND $<TARGET_FILE:${PROJECT_NAME}> -dt-h)
-doctest_add_test(NAME version COMMAND $<TARGET_FILE:${PROJECT_NAME}> -v)
-doctest_add_test(NAME count COMMAND $<TARGET_FILE:${PROJECT_NAME}> -c)
-doctest_add_test(NAME list_test_cases COMMAND $<TARGET_FILE:${PROJECT_NAME}> -ltc)
-doctest_add_test(NAME list_test_suites COMMAND $<TARGET_FILE:${PROJECT_NAME}> -lts)
+set(common_cov_args ${common_test_args} -sf=*coverage*)
-doctest_add_test(NAME all_binary_success COMMAND $<TARGET_FILE:${PROJECT_NAME}> --test-case="all binary assertions" --success)
+# queries
+doctest_add_test(NAME help ${common_cov_args} -h)
+doctest_add_test(NAME version ${common_cov_args} -v)
+doctest_add_test(NAME count ${common_cov_args} -c)
+doctest_add_test(NAME list_test_cases ${common_cov_args} -ltc)
+doctest_add_test(NAME list_test_suites ${common_cov_args} -lts)
+
+doctest_add_test(NAME all_binary_success ${common_test_args} -tc=all?binary* -s)
## options
-#doctest_add_test(NAME successful COMMAND $<TARGET_FILE:${PROJECT_NAME}> -s=true -e=Off -sfe=*main*) # exclude main because of RawMemoryToStr
-#doctest_add_test(NAME abort_after COMMAND $<TARGET_FILE:${PROJECT_NAME}> -aa=3 -no-colors)
-#doctest_add_test(NAME first_last COMMAND $<TARGET_FILE:${PROJECT_NAME}> -f=2 -l=5)
-#doctest_add_test(NAME filter_1 COMMAND $<TARGET_FILE:${PROJECT_NAME}> -tc=assert*********)
-#doctest_add_test(NAME filter_2 COMMAND $<TARGET_FILE:${PROJECT_NAME}> -tce=???ert*)
-#doctest_add_test(NAME filter_3 COMMAND $<TARGET_FILE:${PROJECT_NAME}> -sf=asgghdgsa)
-#doctest_add_test(NAME filter_4 COMMAND $<TARGET_FILE:${PROJECT_NAME}> -sfe=*test.cpp*)
-#doctest_add_test(NAME filter_5 COMMAND $<TARGET_FILE:${PROJECT_NAME}> -ts=ts1)
-#doctest_add_test(NAME filter_6 COMMAND $<TARGET_FILE:${PROJECT_NAME}> -tse=ts1)
-#doctest_add_test(NAME order_1 COMMAND $<TARGET_FILE:${PROJECT_NAME}> -ob=suite)
-#doctest_add_test(NAME order_2 COMMAND $<TARGET_FILE:${PROJECT_NAME}> -ob=name)
-#doctest_add_test(NAME order_3 COMMAND $<TARGET_FILE:${PROJECT_NAME}> -ob=rand -rs=324 -sfe=*) # sfe=* to exclude all tests for no output
+#doctest_add_test(NAME successful ${common_cov_args} -s=true -e=Off -sfe=*main*)
+#doctest_add_test(NAME abort_after ${common_cov_args} -aa=3 -no-colors)
+#doctest_add_test(NAME first_last ${common_cov_args} -f=2 -l=5)
+#doctest_add_test(NAME filter_1 ${common_cov_args} -tc=assert*********)
+#doctest_add_test(NAME filter_2 ${common_cov_args} -tce=???ert*)
+#doctest_add_test(NAME filter_3 ${common_cov_args} -sf=asgghdgsa)
+#doctest_add_test(NAME filter_4 ${common_cov_args} -sfe=*test.cpp*)
+#doctest_add_test(NAME filter_5 ${common_cov_args} -ts=ts1)
+#doctest_add_test(NAME filter_6 ${common_cov_args} -tse=ts1)
+doctest_add_test(NAME order_1 ${common_test_args} -sf=*test_cases_and_suites.cpp -ob=suite)
+doctest_add_test(NAME order_2 ${common_test_args} -sf=*test_cases_and_suites.cpp -ob=name)
+doctest_add_test(NAME order_3 ${common_test_args} -sf=*test_cases_and_suites.cpp -ob=rand -rs=324 -sfe=*) # sfe=* to exclude all tests for no output
################################################################################
## VARIATION OF THE BUILD WITH DOCTEST DISABLED - SHOULD STILL COMPILE