Class: RSpec::Core::ExampleStatusParser

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/core/example_status_persister.rb

Overview

Parses a string that has been previously dumped by ExampleStatusDumper. Note that this parser is a bit naive in that it does a simple split on "\n" and " | ", with no concern for handling escaping. For now, that's OK because the values we plan to persist (example id, status, and perhaps example duration) are highly unlikely to contain "\n" or " | " -- after all, who puts those in file names?