     super(reqest, from, config)
   end
 
-  def handle_cast({ :test_started, ExUnit.Test[name: name] }, config) do
-    if config.debug, do: IO.write("  * #{name}")
+  def handle_cast({ :test_started, ExUnit.Test[] = test }, config) do
+    if config.debug, do: IO.write("  * #{debug_test_name test}")
     { :noreply, config }
   end
 
   def handle_cast({ :test_finished, ExUnit.Test[failure: nil] = test }, config) do
     if config.debug do
-      IO.puts success("\r  * #{test.name}")
+      IO.puts success("\r  * #{debug_test_name test}")
     else
       IO.write success(".")
     end

defmodule ExUnit.CLIFormatter do
  @moduledoc """
  Formatter responsible for printing raw text
  on the CLI
  """

  @behaviour ExUnit.Formatter
  @timeout 30_000
  use GenServer.Behaviour


  import ExUnit.Formatter, only: [format_time: 2, format_test_failure: 4, format_test_case_failure: 4]



  def handle_cast({ :test_finished, test }, config) do
    if config.debug do
      IO.puts failure("\r  * #{debug_test_name test}")
    else
      IO.write failure(".")
    end
