Class: Guard::PHPSpec

Inherits:
Guard
  • Object
show all
Defined in:
lib/guard/phpspec.rb,
lib/guard/phpspec/error.rb,
lib/guard/phpspec/application.rb

Defined Under Namespace

Classes: ApplicationNotFoundError, ArgumentError, CommandNotFoundError, Error

Constant Summary collapse

DEFAULT_OPTIONS =

autoload :Inspector, ‘guard/phpspec/inspector’ autoload :Formatter, ‘guard/phpspec/formatter’ autoload :Notifier, ‘guard/phpspec/notifier’ autoload :Runner, ‘guard/phpspec/runner’

{
  :all_on_start   => true,
  :all_after_pass => true,
  :keep_failed    => true,
  :cli            => nil,
  :tests_path     => "#{Dir.pwd}/spec"
}

Constants included from Guard

VERSION

Instance Method Summary collapse

Constructor Details

#initializePHPSpec

Returns a new instance of PHPSpec.

Raises:

  • (Exception)


6
7
8
# File 'lib/guard/phpspec.rb', line 6

def initialize
  raise Exception.new('guard-phpspec is work in progress. not ready for use at the moment')
end