--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: completed_re
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: extra_class_map
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: extra_files
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: failed_results_re
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: files_to_test
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: find_directories
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: find_order
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: interrupted
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: known_files
  rw: W
- !ruby/object:RI::Attribute 
  comment: 
  name: last_mtime
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: libs
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: order
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: output
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: results
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: sleep
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: tainted
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: testlib
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: unit_diff
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: wants_to_quit
  rw: RW
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: add_discovery
- !ruby/object:RI::MethodSummary 
  name: add_hook
- !ruby/object:RI::MethodSummary 
  name: autodiscover
- !ruby/object:RI::MethodSummary 
  name: new
- !ruby/object:RI::MethodSummary 
  name: run
comment: 
- !ruby/struct:SM::Flow::P 
  body: Autotest continuously scans the files in your project for changes and runs the appropriate tests. Test failures are run until they have all passed. Then the full test suite is run to ensure that nothing else was inadvertantly broken.
- !ruby/struct:SM::Flow::P 
  body: If you want Autotest to start over from the top, hit ^C once. If you want Autotest to quit, hit ^C twice.
- !ruby/struct:SM::Flow::P 
  body: "Rails:"
- !ruby/struct:SM::Flow::P 
  body: The autotest command will automatically discover a Rails directory by looking for config/environment.rb. When Rails is discovered, autotest uses RailsAutotest to perform file mappings and other work. See RailsAutotest for details.
- !ruby/struct:SM::Flow::P 
  body: "Plugins:"
- !ruby/struct:SM::Flow::P 
  body: "Plugins are available by creating a .autotest file either in your project root or in your home directory. You can then write event handlers in the form of:"
- !ruby/struct:SM::Flow::VERB 
  body: "  Autotest.add_hook hook_name { |autotest| ... }\n"
- !ruby/struct:SM::Flow::P 
  body: The available hooks are listed in <tt>ALL_HOOKS</tt>.
- !ruby/struct:SM::Flow::P 
  body: See example_dot_autotest.rb for more details.
- !ruby/struct:SM::Flow::P 
  body: If a hook returns a true value, it signals to autotest that the hook was handled and should not continue executing hooks.
- !ruby/struct:SM::Flow::P 
  body: "Naming:"
- !ruby/struct:SM::Flow::P 
  body: Autotest uses a simple naming scheme to figure out how to map implementation files to test files following the Test::Unit naming scheme.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Test files must be stored in test/
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Test files names must start with test_
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Test class names must start with Test
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Implementation files must be stored in lib/
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Implementation files must match up with a test file named test_.*implementation.rb
  type: :BULLET
- !ruby/struct:SM::Flow::P 
  body: "Strategy:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "1."
    body: Find all files and associate them from impl &lt;-&gt; test.
  - !ruby/struct:SM::Flow::LI 
    label: "2."
    body: Run all tests.
  - !ruby/struct:SM::Flow::LI 
    label: "3."
    body: Scan for failures.
  - !ruby/struct:SM::Flow::LI 
    label: "4."
    body: Detect changes in ANY (ruby?. file, rerun all failures + changed files.
  - !ruby/struct:SM::Flow::LI 
    label: "5."
    body: Until 0 defects, goto 3.
  - !ruby/struct:SM::Flow::LI 
    label: "6."
    body: When 0 defects, goto 2.
  type: :NUMBER
constants: 
- !ruby/object:RI::Constant 
  comment: 
  name: T0
  value: Time.at 0
- !ruby/object:RI::Constant 
  comment: 
  name: ALL_HOOKS
  value: "[ :all_good, :died, :green, :initialize, :interrupt, :quit,                 :ran_command, :red, :reset, :run_command, :updated, :waiting ]"
- !ruby/object:RI::Constant 
  comment: 
  name: HOOKS
  value: Hash.new { |h,k| h[k] = [] }
- !ruby/object:RI::Constant 
  comment: 
  name: WINDOZE
  value: /win32/ =~ RUBY_PLATFORM
- !ruby/object:RI::Constant 
  comment: 
  name: SEP
  value: "WINDOZE ? '&' : ';'"
full_name: Autotest
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: add_exception
- !ruby/object:RI::MethodSummary 
  name: add_mapping
- !ruby/object:RI::MethodSummary 
  name: add_sigint_handler
- !ruby/object:RI::MethodSummary 
  name: all_good
- !ruby/object:RI::MethodSummary 
  name: clear_exceptions
- !ruby/object:RI::MethodSummary 
  name: clear_mappings
- !ruby/object:RI::MethodSummary 
  name: consolidate_failures
- !ruby/object:RI::MethodSummary 
  name: exceptions
- !ruby/object:RI::MethodSummary 
  name: files_matching
- !ruby/object:RI::MethodSummary 
  name: find_files
- !ruby/object:RI::MethodSummary 
  name: find_files_to_test
- !ruby/object:RI::MethodSummary 
  name: get_to_green
- !ruby/object:RI::MethodSummary 
  name: handle_results
- !ruby/object:RI::MethodSummary 
  name: hook
- !ruby/object:RI::MethodSummary 
  name: known_files
- !ruby/object:RI::MethodSummary 
  name: make_test_cmd
- !ruby/object:RI::MethodSummary 
  name: new_hash_of_arrays
- !ruby/object:RI::MethodSummary 
  name: path_to_classname
- !ruby/object:RI::MethodSummary 
  name: remove_exception
- !ruby/object:RI::MethodSummary 
  name: remove_mapping
- !ruby/object:RI::MethodSummary 
  name: reorder
- !ruby/object:RI::MethodSummary 
  name: rerun_all_tests
- !ruby/object:RI::MethodSummary 
  name: reset
- !ruby/object:RI::MethodSummary 
  name: ruby
- !ruby/object:RI::MethodSummary 
  name: run
- !ruby/object:RI::MethodSummary 
  name: run_tests
- !ruby/object:RI::MethodSummary 
  name: test_files_for
- !ruby/object:RI::MethodSummary 
  name: wait_for_changes
name: Autotest
superclass: Object
