Sha256: 0f013fbf02a9ea35402d5480133332bc046de36f4bf20f4ad5b5c9c9bc716cd4

Contents?: true

Size: 1.6 KB

Versions: 13

Compression:

Stored size: 1.6 KB

Contents

<div class="report_container" id="<%= title_id %>">
  <h2>
    <span class="group_name"><%= title %></span>
    (
      <span class="blue">
        <strong><%= last_run[:actual_count] %></strong>
      </span> examples,
      <% if last_run[:failed_examples].positive? %>
        <span class="red">
          <strong><%= last_run[:failed_examples] %></strong>
        </span> failures,
      <% end %>
      <% if last_run[:pending_examples].positive? %>
        <span class="yellow">
          <strong><%= last_run[:pending_examples] %></strong>
        </span> pending,
      <% end %>
      <span class="blue">
        <strong><%= last_run[:skipped_examples] %></strong>
      </span> skipped by rspec-tracer
    )
  </h2>

  <a name="<%= title_id %>"></a>

  <div class="report-table--responsive">
    <table class="report-table">
      <thead>
        <tr>
          <th>ID</th>
          <th>Description</th>
          <th>Location</th>
          <th>Run Reason</th>
          <th>Result</th>
          <th>Run At</th>
        </tr>
      </thead>

      <tbody>
        <% examples.each do |example| %>
          <tr>
            <td><%= example[:id] %></td>
            <td><%= example[:description] %></td>
            <td><%= example[:location] %></td>
            <td><strong class="<%= example_status_css_class(example[:status]) %>"><%= example[:status] %></strong></td>
            <td><strong class="<%= example_result_css_class(example[:result]) %>"><%= example[:result] %></strong></td>
            <td width="8%"><%= example[:last_run] %></td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rspec-tracer-0.9.2 lib/rspec_tracer/html_reporter/views/examples.erb
rspec-tracer-0.9.1 lib/rspec_tracer/html_reporter/views/examples.erb
rspec-tracer-0.9.0 lib/rspec_tracer/html_reporter/views/examples.erb
rspec-tracer-0.8.0 lib/rspec_tracer/html_reporter/views/examples.erb
rspec-tracer-0.7.0 lib/rspec_tracer/html_reporter/views/examples.erb
rspec-tracer-0.6.2 lib/rspec_tracer/html_reporter/views/examples.erb
rspec-tracer-0.6.1 lib/rspec_tracer/html_reporter/views/examples.erb
rspec-tracer-0.6.0 lib/rspec_tracer/html_reporter/views/examples.erb
rspec-tracer-0.5.0 lib/rspec_tracer/html_reporter/views/examples.erb
rspec-tracer-0.4.0 lib/rspec_tracer/html_reporter/views/examples.erb
rspec-tracer-0.3.0 lib/rspec_tracer/html_reporter/views/examples.erb
rspec-tracer-0.2.0 lib/rspec_tracer/html_reporter/views/examples.erb
rspec-tracer-0.1.0 lib/rspec_tracer/html_reporter/views/examples.erb