Sha256: fba9ff78289213e60f3ca8607e7f6f4d5f6000405d249c284b8ed00bddc2e638

Contents?: true

Size: 1.42 KB

Versions: 9

Compression:

Stored size: 1.42 KB

Contents

<!doctype html>
<html lang="en-US">
<head>
  <meta charset="UTF-8">
  <title>Monkey Test</title>
  <link rel="stylesheet" type="text/css" href="bootstrap.css"/>
</head>
<body>
<div class="container">
  <div class="row">
    <div class="span9 offset1">
      <h1>Summary</h1>
      <div>
        <ul>
          <li>Span: <%= start_time %> ~ <%= end_time %></li>
          <li>Results: <%= test_count %> Test, <%= ok_count %> Success, <%= ng_count %> Crash.</li>
        </ul>
      </div>

        <h1>Details</h1>
        <table class="table table-bordered">
          <thead>
          <tr>
            <th>No</th>
            <th>Result</th>
            <th>Duration</th>
            <th>message</th>
          </tr>
          </thead>
          <tbody>
          <% for result in result_list %>
          <tr class="<%= result[:ok] ? 'success' : 'error' %>">
            <td><%= result[:times]+1 %></td>
            <td>
              <a href="<%= result[:result_dir] %>/result.html">
                <span><%= result[:ok] ? 'OK' : 'Crash' %></span>
              </a>
            </td>
            <td><%= result[:end_time].to_i - result[:start_time].to_i%> Sec</td>
            <td><%= result[:message] %></td>
          </tr>
          <% end %>
          </tbody>
        </table>
    </div>
  </div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="bootstrap.js"></script>
</body>
</html>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
crash_monkey-0.3.1 lib/crash_monkey/templates/index.html.erb
crash_monkey-0.3.0 lib/crash_monkey/templates/index.html.erb
crash_monkey-0.2.5 lib/crash_monkey/templates/index.html.erb
crash_monkey-0.2.3 lib/crash_monkey/templates/index.html.erb
crash_monkey-0.2.1 lib/crash_monkey/templates/index.html.erb
crash_monkey-0.2.0 lib/crash_monkey/templates/index.html.erb
crash_monkey-0.1.7 lib/crash_monkey/templates/index.html.erb
crash_monkey-0.1.6 lib/crash_monkey/templates/index.html.erb
crash_monkey-0.1.5 lib/crash_monkey/templates/index.html.erb