Sha256: 04d8b6f177f7ce1dd70304fd43d490132d7ee5d0aaca79f160b95f5e5082fda6

Contents?: true

Size: 440 Bytes

Versions: 12

Compression:

Stored size: 440 Bytes

Contents

require 'spec_helper'
MetricFu.metrics_require { 'hotspots/hotspot' }

describe MetricFu::Hotspot do

  before do
    enable_hotspots
  end

  it "returns an array of of the analyzers that subclass it" do
    expected_analyzers = [ReekHotspot, RoodiHotspot,
      FlogHotspot, ChurnHotspot, SaikuroHotspot,
      FlayHotspot, StatsHotspot, RcovHotspot]

    expect(MetricFu::Hotspot.analyzers.size).to eq(expected_analyzers.size)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
metric_fu-4.11.3 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
metric_fu-4.11.2 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
metric_fu-4.11.1 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
metric_fu-4.11.0 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
metric_fu-4.10.0 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
metric_fu-4.9.0 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
metric_fu-4.8.0 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
metric_fu-4.7.4 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
metric_fu-4.7.3 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
metric_fu-4.7.2 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
metric_fu-4.7.1 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
metric_fu-4.7.0 spec/metric_fu/metrics/hotspots/hotspot_spec.rb