repl.it
@fenrir_naru/

RSpec with a persistant instance

Ruby

No description

fork
loading
Files
  • main.rb
  • spec
  • target.rb
main.rb
1
2
3
4
5
6
7
8
9
require 'rspec'
require File.expand_path(File.dirname(__FILE__) + '/spec/helper.rb')

RSpec::Core::Runner.run([
    'spec/target_spec.rb', 
    '--color',
    '--format', 'MyFormatter'])

# @see spec/target_spec.rb
ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux]