lib/rspec_flaky/listener.rb
# - suite_flaky_examples: contains all the currently tracked flacky example
#   for the whole RSpec suite
# - flaky_examples: contains the examples detected as flaky during the
#   current RSpec run
contains all the currently tracked flacky example
for the whole RSpec suite
flaky_examples: contains the examples detected as flaky during the
current RSpec run
contains all the currently tracked flacky example for the whole RSpec suite flaky_examples : contains the examples detected as flaky during the current RSpec run
def write_report_file(examples_collection, file_path)
      return unless RspecFlaky::Config.generate_report?
      report_path_dir = File.dirname(file_path)
      FileUtils.mkdir_p(report_path_dir) unless Dir.exist?(report_path_dir)
      File.write(file_path, JSON.pretty_generate(examples_collection.to_report))
    end
def write_report_file ( examples_collection , file_path ) return unless RspecFlaky :: Config . generate_report? report_path_dir = File . dirname ( file_path ) FileUtils . mkdir_p ( report_path_dir ) unless Dir . exist? ( report_path_dir ) File . write ( file_path , JSON . pretty_generate ( examples_collection . to_report ) ) end
suite_flaky_examples: contains all the currently tracked flacky example
for the whole RSpec suite
 flaky_examples: contains the examples detected as flaky during the
current RSpec run
suite_flaky_examples : contains all the currently tracked flacky example for the whole RSpec suite flaky_examples : contains the examples detected as flaky during the current RSpec run
examples_collection
file_path