Sha256: 5df53e1d44b1f41ce505b99adf68457ae293b2b49d1c60ded91cbf99255043f0

Contents?: true

Size: 1.56 KB

Versions: 5

Compression:

Stored size: 1.56 KB

Contents

=begin
    Copyright 2010-2022 Ecsypno <http://www.ecsypno.com>

    This file is part of the Arachni Framework project and is subject to
    redistribution and commercial restrictions. Please see the Arachni Framework
    web site for more information on licensing and terms of use.
=end

require 'rack/test'
# require 'simplecov'
require 'faker'

require_relative '../lib/arachni'
require_relative '../ui/cli/output'
require_relative '../lib/arachni/processes'
require_relative '../lib/arachni/processes/helpers'

require_relative 'support/helpers/paths'
require_relative 'support/helpers/requires'

Dir.glob( "#{support_path}/{lib,helpers,shared,factories}/**/*.rb" ).each { |f| require f }

# Enable extra output options in order to get full coverage...
Arachni::UI::Output.verbose_on
Arachni::UI::Output.debug_on( 999999 )
# ...but don't actually print anything.
Arachni::UI::Output.mute

# Uncomment to show output from spawned processes.
Arachni::Processes::Manager.preserve_output

RSpec::Core::MemoizedHelpers.module_eval do
    alias to should
    alias to_not should_not
end

RSpec.configure do |config|
    config.run_all_when_everything_filtered = true
    config.color = true
    config.add_formatter :documentation
    config.include PageHelpers
    config.alias_example_to :expect_it
    config.filter_run_including focus: true

    config.mock_with :rspec do |mocks|
        mocks.yield_receiver_to_any_instance_implementation_blocks = true
    end

    config.before( :all ) do
        killall
        reset_all
    end

    config.after( :suite ) do
        killall
    end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/spec_helper.rb
arachni-1.6.1.2 spec/spec_helper.rb
arachni-1.6.1.1 spec/spec_helper.rb
arachni-1.6.1 spec/spec_helper.rb
arachni-1.6.0 spec/spec_helper.rb