diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 1f635daa654db9bf4ff28e08820ae5b3be1e41cf..5864105b256b7e720021874fd69ff057bb83f2ff 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -4,8 +4,8 @@ if(libClaPP_CLANG_TIDY_ARGS_EXAMPLES)
     set_target_properties(libclapp_example_large PROPERTIES CXX_CLANG_TIDY "${libClaPP_CLANG_TIDY_ARGS_EXAMPLES}")
 endif()
 install(TARGETS libclapp_example_large DESTINATION ${CMAKE_INSTALL_BINDIR})
-configure_file(test_large_example.sh test_large_example.sh COPYONLY)
-add_test(NAME large_example_tests COMMAND test_large_example.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+configure_file(test_large_example.bats test_large_example.bats COPYONLY)
+add_test(NAME large_example_tests COMMAND test_large_example.bats WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
 
 add_executable(libclapp_example_short short_example.cpp)
 target_link_libraries(libclapp_example_short libClaPP::clapp libClaPP_CXX_COMPILE_OPTIONS)
@@ -13,8 +13,8 @@ if(libClaPP_CLANG_TIDY_ARGS_EXAMPLES)
     set_target_properties(libclapp_example_short PROPERTIES CXX_CLANG_TIDY "${libClaPP_CLANG_TIDY_ARGS_EXAMPLES}")
 endif()
 install(TARGETS libclapp_example_short DESTINATION ${CMAKE_INSTALL_BINDIR})
-configure_file(test_short_example.sh test_short_example.sh COPYONLY)
-add_test(NAME short_example_tests COMMAND test_short_example.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+configure_file(test_short_example.bats test_short_example.bats COPYONLY)
+add_test(NAME short_example_tests COMMAND test_short_example.bats WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
 
 add_executable(libclapp_example_sub_parser sub_parser_example.cpp)
 target_link_libraries(libclapp_example_sub_parser libClaPP::clapp libClaPP_CXX_COMPILE_OPTIONS)
@@ -22,8 +22,8 @@ if(libClaPP_CLANG_TIDY_ARGS_EXAMPLES)
     set_target_properties(libclapp_example_sub_parser PROPERTIES CXX_CLANG_TIDY "${libClaPP_CLANG_TIDY_ARGS_EXAMPLES}")
 endif()
 install(TARGETS libclapp_example_sub_parser DESTINATION ${CMAKE_INSTALL_BINDIR})
-configure_file(test_sub_parser_example.sh test_sub_parser_example.sh COPYONLY)
-add_test(NAME sub_parser_example_tests COMMAND test_sub_parser_example.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+configure_file(test_sub_parser_example.bats test_sub_parser_example.bats COPYONLY)
+add_test(NAME sub_parser_example_tests COMMAND test_sub_parser_example.bats WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
 
 add_executable(libclapp_example_container container_example.cpp)
 target_link_libraries(libclapp_example_container libClaPP::clapp libClaPP_CXX_COMPILE_OPTIONS)
@@ -31,5 +31,5 @@ if(libClaPP_CLANG_TIDY_ARGS_EXAMPLES)
     set_target_properties(libclapp_example_container PROPERTIES CXX_CLANG_TIDY "${libClaPP_CLANG_TIDY_ARGS_EXAMPLES}")
 endif()
 install(TARGETS libclapp_example_container DESTINATION ${CMAKE_INSTALL_BINDIR})
-configure_file(test_container_example.sh test_container_example.sh COPYONLY)
-add_test(NAME container_example_tests COMMAND test_container_example.sh WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+configure_file(test_container_example.bats test_container_example.bats COPYONLY)
+add_test(NAME container_example_tests COMMAND test_container_example.bats WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
diff --git a/examples/test_container_example.sh b/examples/test_container_example.bats
similarity index 100%
rename from examples/test_container_example.sh
rename to examples/test_container_example.bats
diff --git a/examples/test_large_example.sh b/examples/test_large_example.bats
similarity index 100%
rename from examples/test_large_example.sh
rename to examples/test_large_example.bats
diff --git a/examples/test_short_example.sh b/examples/test_short_example.bats
similarity index 100%
rename from examples/test_short_example.sh
rename to examples/test_short_example.bats
diff --git a/examples/test_sub_parser_example.sh b/examples/test_sub_parser_example.bats
similarity index 100%
rename from examples/test_sub_parser_example.sh
rename to examples/test_sub_parser_example.bats