# File lib/kwala/actions/unit_test.rb, line 336
  def group_test_info(test_info)
    in_group = false
    groups = Array.new
    cur_group = Array.new

    test_info.split(/\n{2}/).each do |line|
      if !line.empty? && !in_group
        in_group = true
        if !cur_group.empty?
          groups << cur_group
        end
        cur_group = Array.new
        cur_group << line
      elsif line.empty?
        in_group = false
        if !cur_group.empty?
          groups << cur_group.join("\n")
          cur_group = Array.new
        end
      else
        cur_group << line
      end

    end

    if !cur_group.empty?
      groups << cur_group.join("\n")
    end

    groups
  end