Class SpecdocFormatter
In: lib/mspec/runner/formatters/specdoc.rb
Parent: DottedFormatter

Methods

after   before   enter   exception   register  

Public Instance methods

Callback for the MSpec :after event. Prints a newline to finish the description string output.

Callback for the MSpec :before event. Prints the it block string.

Callback for the MSpec :enter event. Prints the describe block string.

Callback for the MSpec :exception event. Prints either ‘ERROR - X’ or ‘FAILED - X’ where X is the sequential number of the exception raised. If there has already been an exception raised while evaluating this example, it prints another it block description string so that each discription string has an associated ‘ERROR’ or ‘FAILED‘

[Validate]