Sha256: ad2d94385f2c61c6544f4613d6ce49350a4c0f1ea2a182df8fbdb2eb8068ea4c
Contents?: true
Size: 440 Bytes
Versions: 2
Compression:
Stored size: 440 Bytes
Contents
require_relative '../../../spec_helper' require_lib 'reek/examiner' RSpec.describe 'Runtime speed' do let(:source_directory) { SAMPLES_DIR.join('smelly_source') } it 'runs on our smelly sources in less than 5 seconds' do expect do Dir[source_directory.join('**/*.rb')].each do |entry| examiner = Reek::Examiner.new Pathname.new(entry) examiner.smells.size end end.to perform_under(5).sec end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reek-6.0.3 | spec/performance/reek/smell_detectors/runtime_speed_spec.rb |
reek-6.0.2 | spec/performance/reek/smell_detectors/runtime_speed_spec.rb |