Class SpinnerFormatter
In: lib/mspec/runner/formatters/spinner.rb
Parent: DottedFormatter

Methods

after   etr   exception   length=   load   new   percentage   register   spin   start  

Constants

Spins = %w!| / - \\!
HOUR = 3600
MIN = 60

Attributes

length  [R] 

Public Class methods

Public Instance methods

Callback for the MSpec :after event. Updates the spinner and progress bar.

Callback for the MSpec :exception event. Changes the color used to display the tally of errors and failures

Callback for the MSpec :load event. Increments the number of files that have been loaded.

Callback for the MSpec :start event. Stores the total number of files that will be processed.

[Validate]