diff --git a/tests/mpi_test_main.cpp b/tests/mpi_test_main.cpp
index 541d48a37c352a0cd12ce6c15ddd32de3ddae941..67004c7f2d69d1663937f2c2ccbdd6317c1e050e 100644
--- a/tests/mpi_test_main.cpp
+++ b/tests/mpi_test_main.cpp
@@ -12,6 +12,9 @@ main(int argc, char* argv[])
   parallel::Messenger::create(argc, argv);
   Kokkos::initialize({4, -1, -1, true});
 
+  // Disable outputs from tested classes to the standard output
+  std::cout.setstate(std::ios::badbit);
+
   if (parallel::rank() != 0) {
     setenv("GCOV_PREFIX", "/dev/null", 1);
   }
diff --git a/tests/test_main.cpp b/tests/test_main.cpp
index e0ed7b5fe279e1b1b4b21d10a4145701ab619fc8..c7355e990f3322d22de1ab0398d7b5ed0fab3c06 100644
--- a/tests/test_main.cpp
+++ b/tests/test_main.cpp
@@ -8,6 +8,9 @@ main(int argc, char* argv[])
 {
   Kokkos::initialize({4, -1, -1, true});
 
+  // Disable outputs from tested classes to the standard output
+  std::cout.setstate(std::ios::badbit);
+
   int result = Catch::Session().run(argc, argv);
 
   Kokkos::finalize();