Sha256: 766cb2cad48a6f043fea894dab835d5ffe2141f54c35c16df2a3f6dc2bff09b9

Contents?: true

Size: 882 Bytes

Versions: 1

Compression:

Stored size: 882 Bytes

Contents

module Nestor
  # Nestor::Cli will require a file named +nestor/strategies/#{strategy_name}+.  If you want
  # to provide custom strategies, make it available to Nestor using the correct path.
  #
  # Strategies are simple objects that implement the following protocol:
  #
  # <tt>log(message)</tt>:: Logs a simple message, either to the console or a logfile.
  #                         The Machine will use the +log+ method to notify about it's
  #                         state transitions.
  #
  # <tt>run_all</tt>:: Runs all the tests, no matter what.  In the Rails &
  #                    +Test::Unit+ case, this means <tt>Dir["test/**/*_test.rb"]</tt>.
  #
  # <tt>run(tests_files, focused_cases=[])</tt>:: Runs only a subset of the tests, maybe
  #                                               focusing on only a couple of tests / examples.
  module Strategies
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nestor-0.1.0 lib/nestor/strategies.rb