Sha256: ad121b8b1daf19390f35fdc18bd7d9864aed72df85a722df5f296b8247653a7f

Contents?: true

Size: 479 Bytes

Versions: 9

Compression:

Stored size: 479 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

9 entries across 9 versions & 3 rubygems

Version Path
metric_fu-4.13.0 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
fastruby-metric_fu-5.0.0 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
code_metric_fu-4.14.4 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
code_metric_fu-4.14.3 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
code_metric_fu-4.14.2 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
code_metric_fu-4.14.1 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
code_metric_fu-4.14.0 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
metric_fu-4.12.0 spec/metric_fu/metrics/hotspots/hotspot_spec.rb
metric_fu-4.11.4 spec/metric_fu/metrics/hotspots/hotspot_spec.rb