Class: Autotest::MerbRspec

Class | Autotest::MerbRspec
In: | lib/generators/templates/application/merb_core/autotest/merb_rspec.rb lib/generators/templates/application/merb_stack/autotest/merb_rspec.rb
Parent: | Autotest

This class maps your application‘s structure so Autotest can understand what specs to run when files change.

Fixtures are not covered by this class. If you change a fixture file, you will have to run your spec suite manually, or, better yet, provide your own Autotest map explaining how your fixtures are set up.

### Methods

add_options_if_present add_options_if_present consolidate_failures consolidate_failures failed_results failed_results handle_results handle_results make_test_cmd make_test_cmd new new spec_command spec_command spec_commands spec_commands

### Public Class methods

new()
new()

### Public Instance methods

add_options_if_present()
add_options_if_present()
consolidate_failures(failed)
consolidate_failures(failed)
failed_results(results)
failed_results(results)
handle_results(results)
handle_results(results)
make_test_cmd(specs_to_runs)
make_test_cmd(specs_to_runs)
spec_command(separator=File::ALT_SEPARATOR)

Finds the proper spec command to use. Precendence is set in the lazily-evaluated method spec_commands. Alias + Override that in ~/.autotest to provide a different spec command then the default paths provided.

spec_command(separator=File::ALT_SEPARATOR)

Finds the proper spec command to use. Precendence is set in the lazily-evaluated method spec_commands. Alias + Override that in ~/.autotest to provide a different spec command then the default paths provided.

spec_commands()

Autotest will look for spec commands in the following locations, in this order:

      * default spec bin/loader installed in Rubygems
      * any spec command found in PATH

spec_commands()

Autotest will look for spec commands in the following locations, in this order:

      * default spec bin/loader installed in Rubygems
      * any spec command found in PATH

[Validate]