Commits on Jun 20, 2010
  1. @dchelimsky

    Resolve feature envy in subject by exposing the method it needs on

    example.
    
    - Use subscriptions to determine whether we're in the example block or
      not.
    - This is a bit more code, but takes some of the noise out of the run()
      method.
    dchelimsky committed Jun 20, 2010
  2. @dchelimsky
  3. @dchelimsky
  4. @dchelimsky

    xit => pending

    dchelimsky committed Jun 20, 2010
  5. @dchelimsky

    words

    dchelimsky committed Jun 19, 2010
  6. @dchelimsky
  7. @dchelimsky

    Move notifier to its own file.

    Also change the mock framework hooks to example_executed (not in love
    with that name, but example_finished already has some meaning).
    dchelimsky committed Jun 19, 2010
  8. @dchelimsky
  9. @dchelimsky

    notifier publishes notices

    dchelimsky committed Jun 19, 2010
  10. @dchelimsky
  11. @dchelimsky
Commits on Jun 19, 2010
  1. @dchelimsky

    better names

    dchelimsky committed Jun 19, 2010
  2. @dchelimsky
  3. @dchelimsky

    add bare-bones pub/sub

    dchelimsky committed Jun 19, 2010
  4. @dchelimsky

    words

    dchelimsky committed Jun 19, 2010
  5. @dchelimsky

    add Hook object

    dchelimsky committed Jun 19, 2010
  6. @dchelimsky
  7. @dchelimsky

    format progress

    dchelimsky committed Jun 19, 2010
  8. @dchelimsky
  9. @dchelimsky
  10. @dchelimsky
  11. @iromeo @dchelimsky
Commits on Jun 18, 2010
  1. The default behaviour for non-rcov rake runs is 'in-process'

    Previously, we shelled out via system calls to ruby, now we just
    require the runner, disable the at exit hook, and the suite progresses
    as normal.
    Chad Humphries and Chris Redinger committed Jun 18, 2010
  2. @spicycode

    Added the ability to specify a "rcov_path" in the rake task, allowing…

    … for paths such as "bundle exec rcov"
    spicycode committed Jun 18, 2010
  3. @spicycode

    Minor indentation fix

    spicycode committed Jun 18, 2010
  4. @wincent @dchelimsky

    Add "options" accessor for running example

    This allows custom behavior in before blocks that can be triggered by
    passing in arbitrary metadata to the "it" method when setting up the
    example:
    
      it 'should be special', :special => true do
        ...
      end
    
    The custom behavior can be set-up, for example, using config.before:
    
      RSpec.configure do |config|
        config.before :each do
          special_setup if example.options[:special]
        end
      end
    
    Closes #42.
    wincent committed with dchelimsky Jun 17, 2010
  5. @dchelimsky
  6. @wincent @dchelimsky

    Emit deprecation warning for running_example

    Note that we set this up only for the "running_example" getter, not the
    setter, as the latter should only ever be used internally by RSpec
    itself, not by external callers.
    wincent committed with dchelimsky Jun 17, 2010
  7. @wincent @dchelimsky
Commits on Jun 17, 2010
  1. @dchelimsky
Commits on Jun 16, 2010
  1. @dchelimsky
  2. @aslakhellesoy @dchelimsky
Commits on Jun 15, 2010
  1. @dchelimsky

    Ensured that requires precede formatter

    Allowed formatter to take class as a string
    Thibaud Guillaume-Gentil committed with dchelimsky Jun 15, 2010
  2. @dchelimsky
  3. @dchelimsky

    Parse options earlier so the runner can determine whether to use drb if

    it is set in an options file.
    
    Closes #74.
    dchelimsky committed Jun 15, 2010