diff --git a/core/modules/simpletest/src/BrowserTestBase.php b/core/modules/simpletest/src/BrowserTestBase.php
index b5da13c..c7accc8 100644
--- a/core/modules/simpletest/src/BrowserTestBase.php
+++ b/core/modules/simpletest/src/BrowserTestBase.php
@@ -227,6 +227,34 @@
   protected $preserveGlobalState = FALSE;
 
   /**
+   * Class name for verbose logging.
+   *
+   * @var string
+   */
+  protected $verboseClassName;
+
+  /**
+   * Directory name for verbose logging.
+   *
+   * @var string
+   */
+  protected $verboseDirectory;
+
+  /**
+   * Counter storage for verbose logging.
+   *
+   * @var string
+   */
+  protected $verboseCounterStorage;
+
+  /**
+   * Counter for verbose logging.
+   *
+   * @var int
+   */
+  protected $verboseCounter = 1;
+
+  /**
    * Initializes Mink sessions.
    */
   protected function initMink() {
@@ -362,6 +390,12 @@ protected function setUp() {
         }
       }
     }
+    $this->verboseClassName = str_replace("\\", "_", get_called_class());
+    $this->verboseDirectory = sys_get_temp_dir() . '/verbose';
+    $this->verboseCounterStorage = sys_get_temp_dir() . '/verbose/' . $this->verboseClassName . '.counter';
+    if (is_file($this->verboseCounterStorage)) {
+      $this->verboseCounter = max(1, (int) file_get_contents($this->verboseCounterStorage));
+    }
   }
 
   /**
@@ -500,6 +534,12 @@ protected function drupalGet($path, array $options = array()) {
     // Ensure that any changes to variables in the other thread are picked up.
     $this->refreshVariables();
 
+    $verbose = 'GET request to: ' . $url .
+      '<hr />Ending URL: ' . $this->getSession()->getCurrentUrl();
+    $verbose .= '<hr />' . $out;
+
+    $this->verbose($verbose);
+
     return $out;
   }
 
@@ -765,10 +805,12 @@ protected function submitForm(array $edit, $submit, $form_html_id = NULL) {
     if (isset($form_html_id)) {
       $form = $assert_session->elementExists('xpath', "//form[@id='$form_html_id']");
       $submit_button = $assert_session->buttonExists($submit, $form);
+      $action = $form->getAttribute('action');
     }
     else {
       $submit_button = $assert_session->buttonExists($submit);
       $form = $assert_session->elementExists('xpath', './ancestor::form', $submit_button);
+      $action = $form->getAttribute('action');
     }
 
     // Edit the form values.
@@ -783,6 +825,12 @@ protected function submitForm(array $edit, $submit, $form_html_id = NULL) {
 
     // Ensure that any changes to variables in the other thread are picked up.
     $this->refreshVariables();
+    $out = $this->getSession()->getPage()->getContent();
+    $verbose = 'POST request to: ' . $action .
+      '<hr />Ending URL: ' . $this->getSession()->getCurrentUrl();
+    $verbose .= '<hr />' . $out;
+
+    $this->verbose($verbose);
   }
 
   /**
@@ -1348,4 +1396,21 @@ public function __sleep() {
     return [];
   }
 
+  /**
+   * Logs a verbose message in a text file.
+   *
+   * The link to the verbose message will be printed by the results printer.
+   *
+   * @param string $message
+   *   The verbose message to be stored.
+   *
+   * @see \Drupal\Tests\Listeners\VerbosePrinter::printResult()
+   */
+  protected function verbose($message) {
+    $message = '<hr />ID #' . $this->verboseCounter . ' (<a href="' . $this->verboseClassName . '-' . ($this->verboseCounter - 1) . '.html">Previous</a> | <a href="' . $this->verboseClassName . '-' . ($this->verboseCounter + 1) . '.html">Next</a>)<hr />' . $message;
+    $verbose_filename = $this->verboseClassName . '-' . $this->verboseCounter . '.html';
+    file_put_contents($this->verboseDirectory . '/' . $verbose_filename, $message);
+    file_put_contents($this->verboseCounterStorage, $this->verboseCounter++);
+  }
+
 }
diff --git a/core/phpunit.xml.dist b/core/phpunit.xml.dist
index 2620fe9..a1202ef 100644
--- a/core/phpunit.xml.dist
+++ b/core/phpunit.xml.dist
@@ -5,7 +5,8 @@
          beStrictAboutTestsThatDoNotTestAnything="true"
          beStrictAboutOutputDuringTests="true"
          beStrictAboutChangesToGlobalState="true"
-         checkForUnintentionallyCoveredCode="false">
+         checkForUnintentionallyCoveredCode="false"
+         printerClass="\Drupal\Tests\Listeners\VerbosePrinter">
   <php>
     <!-- Set error reporting to E_ALL. -->
     <ini name="error_reporting" value="32767"/>
diff --git a/core/tests/Drupal/Tests/Listeners/VerbosePrinter.php b/core/tests/Drupal/Tests/Listeners/VerbosePrinter.php
new file mode 100644
index 0000000..d156585
--- /dev/null
+++ b/core/tests/Drupal/Tests/Listeners/VerbosePrinter.php
@@ -0,0 +1,80 @@
+<?php
+/**
+ * @file
+ * Contains \Drupal\Tests\Listeners\VerbosePrinter.
+ */
+
+namespace Drupal\Tests\Listeners;
+
+/**
+ * Defines a class for providing verbose results for verbose aware tests.
+ */
+class VerbosePrinter extends \PHPUnit_TextUI_ResultPrinter {
+
+  protected $directory;
+  /**
+   * {@inheritdoc}
+   */
+  public function __construct($out, $verbose, $colors, $debug, $numberOfColumns) {
+    parent::__construct($out, $verbose, $colors, $debug, $numberOfColumns);
+    // Initialize verbose debugging.
+    $this->directory = sys_get_temp_dir() . '/verbose';
+    // Check if directory exists.
+    if (is_dir($this->directory)) {
+      // Remove it.
+      $this->cleanUpLastTestRun($this->directory);
+    }
+    // Create the directory.
+    mkdir($this->directory, 0775);
+    if (is_writable($this->directory)) {
+      chmod($this->directory, 0775);
+    }
+    file_put_contents($this->directory . '/.htaccess', "<IfModule mod_expires.c>\nExpiresActive Off\n</IfModule>\n");
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function printResult(\PHPUnit_Framework_TestResult $result) {
+    parent::printResult($result);
+    $counter = 0;
+    foreach (glob($this->directory . '/*.html') as $filename) {
+      if (!$counter) {
+        $this->writeNewLine();
+        $this->writeWithColor('bg-yellow, fg-black', 'Verbose Output was generated');
+      }
+      $this->write($filename);
+      $this->writeNewLine();
+      $counter++;
+    }
+    if ($counter) {
+      $this->writeWithColor('bg-yellow, fg-black', sprintf('%d verbose files', $counter));
+    }
+  }
+
+  /**
+   * Cleans up last run.
+   *
+   * @param string $directory
+   *   Directory to remove.
+   */
+  protected function cleanUpLastTestRun($directory) {
+    if (is_dir($directory)) {
+      $objects = scandir($directory);
+      foreach ($objects as $object) {
+        if ($object !== "." && $object !== "..") {
+          $filename = $directory . "/" . $object;
+          if (filetype($filename) == "directory") {
+            $this->cleanUpLastTestRun($filename);
+          }
+          else {
+            unlink($filename);
+          }
+        }
+      }
+      reset($objects);
+      rmdir($directory);
+    }
+  }
+
+}
