Service
Can automatically run if there is a spec/ directory.
Run all specs with text output
# File lib/plugins/syckle/rspec.rb, line 90 def document shellout('specdoc') end
# File lib/plugins/syckle/rspec.rb, line 58 def initialize_defaults @loadpath = metadata.loadpath @specs = ['spec/**/*_spec.rb', 'spec/**/spec_*.rb'] @require = [] @warning = false @command = 'spec' end
Run all specs with basic output.
Options:
specs File glob(s) of spec files. Defaults to ['spec/**/*_spec.rb', 'spec/**/spec_*.rb']. loadpath Paths to add $LOAD_PATH. Defaults to ['lib']. live Ignore loadpath, use installed libraries instead. Default is false. require Lib(s) to require before excuting specifications. warning Whether to show warnings or not. Default is false. command Spec command to use. Defaults to 'spec'. format Format of RSpec output. rubyopt Additional options to pass to the ruby command. specopt Additional commandline options for spec command.
# File lib/plugins/syckle/rspec.rb, line 84 def runspecs shellout end
Generated with the Darkfish Rdoc Generator 2.