Module: Flatware::RSpec
- Defined in:
- lib/flatware/rspec.rb,
lib/flatware/rspec/summary.rb,
lib/flatware/rspec/formatter.rb,
lib/flatware/rspec/checkpoint.rb,
lib/flatware/rspec/job_builder.rb,
lib/flatware/rspec/example_notification.rb,
lib/flatware/rspec/examples_notification.rb
Defined Under Namespace
Modules: Formatters
Classes: Checkpoint, Example, ExampleNotification, ExamplesNotification, Formatter, JobBuilder, ProgressMessage, Summary
Class Method Summary
collapse
Class Method Details
13
14
15
|
# File 'lib/flatware/rspec.rb', line 13
def self.(args, workers:)
JobBuilder.new(args, workers: workers).jobs
end
|
.run(job, _options = {}) ⇒ Object
17
18
19
20
21
22
23
24
25
26
|
# File 'lib/flatware/rspec.rb', line 17
def self.run(job, _options = {})
runner = ::RSpec::Core::Runner
def runner.trap_interrupt() end
args = %w[
--format Flatware::RSpec::Formatter
] + Array(job)
runner.run(args, $stderr, $stdout)
end
|