Skip to content
This repository
  • 475 commits
  • 166 files changed
  • 28 comments
  • 31 contributors
This comparison is big! We're only showing the most recent 250 commits
Apr 15, 2011
David Chelimsky add parens to silence warning 44d305c
Rodrigo Rosenfeld Rosas Refactoring of ConfigurationOptions#parse_options
- Closes #346.
9e91291
Apr 16, 2011
David Chelimsky use the names shared_examples and shared_context in the features 029e697
Pat Maddox Report the exclusion filter eae6b43
Pat Maddox Report exclusion filters (closes #347) 3623784
Pat Maddox whoops forgot to commit updated feature 03a13bc
Pat Maddox words 87a0f38
Apr 17, 2011
Justin Ko Give credit. f7ff6c0
David Chelimsky Add shared_examples/include_examples pair.
Now we have:

  shared_examples / include_examples
  shared_context  / include_context

These actually do the same thing, but the names make different use cases
more intention revealing.
5e035ea
David Chelimsky doc tweaks 98f811d
David Chelimsky --tag key:value supports symbols and strings 57fe719
David Chelimsky prep for 2.6.0.rc1 f10e8bb
David Chelimsky comment aruba/cukes in Gemfile 059aa96
David Chelimsky update changelog bf3ca8c
Apr 18, 2011
David Chelimsky bump to 2.6.0.rc2 422e334
David Chelimsky update the changelog 0b63cc6
David Chelimsky reinstate cucumber and aruba 9490893
David Chelimsky update docs edb06bb
Apr 20, 2011
David Chelimsky doc updates fd5ef93
Apr 21, 2011
Myron Marston Improve the filter announcement messaging.
- Don't include the default filters.
- Remove the noisy hex number from procs.

Closes #350.
aecda56
Apr 23, 2011
David Chelimsky even shorter description of Proc location 52eca40
David Chelimsky friendly description for both inclusion and exclusion filters c66049a
David Chelimsky remove commented example 0ac4e6e
Apr 28, 2011
David Chelimsky remove redundant statement 86a0813
David Chelimsky inclusion/exclusion filter refactoring ee66acb
David Chelimsky fix some failing (brittle) cukes 4909f5f
Apr 30, 2011
David Chelimsky prep for 2.6.0.rc3 c9851eb
May 01, 2011
David Chelimsky bump to 2.6.0.rc4 83db5d5
May 05, 2011
David Chelimsky restore --pattern/-P command line option (from rspec-1) 0c7a676
Suppport both true and false on config.full_backtrace=
- Closes #355.
2c71a88
David Chelimsky no need for the rubygems version in the gemspec 4c0f32e
May 06, 2011
David Chelimsky prep for 2.6.0.rc5 3bbeb31
David Chelimsky prep for rc6 a37ff24
May 07, 2011
David Chelimsky CommandLine.run returns 0/1 instead of true/false
- Closes #366
7410e6f
May 08, 2011
David Chelimsky Document that around hooks don't share state with examples
- Closes #364.
e979ab5
rubytester Create path to formatter output file if it doesn't exist.
- Closes #361.
890d6c6
David Chelimsky make utility method private 169c725
David Chelimsky don't announce 'Running filtered' when there are no filters 9f62063
David Chelimsky don't call autorun when registering an example group
- the rspec command already does this
- if you want to use the ruby command, require 'rspec/autorun'
bfd0765
David Chelimsky Dev: just require 'rspec/core' 67ab2ac
David Chelimsky Set $stderr and $stdout as defaults for RSpec::Core::Runner.run
- See #367.
73b8714
David Chelimsky Dev: remove obsolete file 7658d8b
David Chelimsky add comment to remove spork monkey patch 1466f60
David Chelimsky fix cuke broken by bfd0765 f994d21
David Chelimsky clear the world after each run
- Closes #367.
71cb7af
David Chelimsky update docs e58c0a3
David Chelimsky reset only which needs resetting 9124a62
May 09, 2011
David Chelimsky refactoring: clarify intent of applying filters 9d61d59
May 11, 2011
David Chelimsky easier on the eyes 17782b0
David Chelimsky Revert "refactoring: clarify intent of applying filters"
- it was more expressive, but caused errors in rspec-rails - will
  revisit later

This reverts commit 9d61d59.
58926bb
Justin Ko typo b0161c7
Justin Ko typo a530faf
May 12, 2011
David Chelimsky prep for 2.6.0 6766e18
May 16, 2011
Daniel Grippi Fixes a formatting issue in the deprecation warnings c69f940
Justin Ko Merge pull request #372 from danielgrippi/patch-1 53c72ca
May 17, 2011
David Chelimsky a little rdoc e687d01
May 18, 2011
David Chelimsky Configuration#inclusion_filter and #exclusion_filter guarantee non-nil
- Fixes #376.
b06c1d5
David Chelimsky changelog 899c679
May 19, 2011
David Chelimsky `require 'rspec/autorun'` when running rcov
- Fixes #370.
90db090
David Chelimsky bump to 2.6.1 313167c
David Chelimsky Small refactoring inspired seeing this code on a big screen. Thanks glv. 0871afc
Properly merge command-line exclusions with default :if and :unless.
Fixes issue #353.
51c30d2
Justin Ko Merge pull request #380 from joshcooper/patch-1
Properly merge command-line exclusions with default :if and :unless.
69c11b1
May 20, 2011
Justin Ko Spec for previous commit. Closes #353 335729f
David Chelimsky warn instead of raising when Ruby can't resolve '~'
- Fixes #377.
2c00b21
David Chelimsky Make sure we don't build rspec-core with Ruby 1.9.2 f2470ea
David Chelimsky changelog 689addf
David Chelimsky bump to 2.6.2.rc 4079561
May 21, 2011
Explicitly convert exit code to integer, avoiding TypeError when retu…
…rn value of run is IO object proxied by DRb::DRbObject
0998854
David Chelimsky bump to 2.6.2 b193ae0
David Chelimsky ci: relax rake version constraint 17df39b
David Chelimsky Merge pull request #382 from jscheid/master
Convert value returned by DRb to integer
c4427b7
David Chelimsky changelog 5554b70
David Chelimsky Add dump of shell commands to re-run failed examples (inspired by
Cucumber).
de6531b
David Chelimsky Clarify behavior of --example command line option
- Closes #378.
- Also see #299.
54f90b3
May 22, 2011
Robert Speicher Fix indentation warnings; Closes #352 aadc7b6
David Chelimsky bump to 2.6.3.beta1 to see if building in older rubygems fixes issue
with differences in yaml date emitting and parsing
80bf3a3
David Chelimsky changes 1f93c36
May 23, 2011
David Chelimsky remove accidental file 1c771dd
David Chelimsky dev: remove unnecessary monkey patch of Cucumber 7e34411
David Chelimsky ci: bundle exec rake (to ensure compatibility w/ downstream deps) b13d0f1
May 24, 2011
David Chelimsky Merge in changes from 2-6-maintenance branch
- no functional changes, just dev dependencies, configs, and changelog
c3d9f1b
Yann Lugrin Allow tag exclusion filtering when using drb b6a71b7
May 25, 2011
David Chelimsky ci: run against rbx and jruby c57f529
Justin Ko Merge pull request #384 from tsigo/master
Fix indentation warnings; Closes #352
3cab6c2
Justin Ko Merge pull request #387 from yannlugrin/drb_with_exclusion_tags
Allow tag exclusion filtering when using drb
4ef0c29
May 26, 2011
Elliot Winkler Fix --example option so that it is not double-escaped when running te…
…sts over DRb
28e1393
Justin Ko changelog 17bb5a3
Justin Ko Merge pull request #388 from mcmire/unescape_escaped_example_option_o…
…ver_drb

Fix for --example so that it is not double-escaped when running tests over DRb
dcd919c
Justin Ko slight refactor dd29b29
Justin Ko changelog 3db6c4c
May 27, 2011
David Chelimsky process the name instead of using TYPE constants 4a5aa01
Jun 01, 2011
David Chelimsky add some docs and move some things around 3e98111
Jun 03, 2011
Travis Vachon Make sure nested at_exit blocks don't break exit status
Per jnicklas/capybara#178, it's possible
to have at_exit handlers installed inside Runner's run method that
execute after the 'exit' call in autorun. These at_exit handlers
can actually change the exit status (in this case, manual testing
reveals that capybara's call to @browser.quit in driver.rb seems to
be the problem).

Avoid this issue entirely by isolating the at_exit handler that calls
exit, ensuring it can't nest at_exit handlers.
c24caf6
Jun 04, 2011
David Chelimsky use cyan for comments (instead of grey, which is not an ansi standard)
- Fixes #393
0e746a8
Jun 06, 2011
David Chelimsky move Changelog to project dir and copy it to features when deploying …
…relish docs
74aa307
David Chelimsky bump to 2.6.4 682f9a1
David Chelimsky oops a74533d
αλεx π Removing Rubinius from .travis.yml due to hanging rbx process hanging…
… after running rake task. Rubinius issue opened: https://github.com/evanphx/rubinius/issues/967.
f74cb8a
David Chelimsky Merge pull request #402 from ifesdjeen/master
Rspec-core with Rubinius leave hanging rbx process on travis-ci.org
d5cd7e8
Jun 07, 2011
David Chelimsky relish docs e2eb136
David Chelimsky add example.exception
- Closes #401.
1c3f47b
Jun 08, 2011
Justin Ko Set a default_directory so you can type "rspec", not "rspec spec"
- See #397.
0ae46b5
David Chelimsky stub out config.files_to_run in examples that run specs but don't nee…
…d to

- See #397
d5285ce
David Chelimsky dev: add --default_directory to rspec's config
- See #397
60f0022
David Chelimsky change default_directory to default_path
- Closes #397
9567fe0
Justin Ko Change feature filename 7415063
Justin Ko relish .nav bea2366
Jun 10, 2011
David Chelimsky ci: build against jruby is hanging on travis, so removing for now 2c9aef1
David Chelimsky --default_directory is not supported on Ruby 1.8.6 9f7b495
Jun 11, 2011
David Chelimsky Support default_path option across all supported rubies
The issue was the non-deterministic order of hash keys.
1da8e31
David Chelimsky less flattening 781490c
David Chelimsky ignore .rbc files 0f4127b
David Chelimsky dev: Rakefile tweaks 8519153
David Chelimsky dev/ci: add binstubs to 'b' directory and tell travis to run b/rake
Tried to move this gem's bin dir to exe and store binstubs in bin, but
that resulted in a stack overflow error.
10b561f
David Chelimsky dev: add rdoc to Gemfile 436e818
David Chelimsky dev: remove dep on rdoc 10fb571
David Chelimsky one more binstub d0b62b4
Jun 13, 2011
David Chelimsky dev: constrain file list in gemspec 5068e70
Jun 14, 2011
Adam Meehan Ensure let methods return a cached nil value instead of repeatedly ev…
…aling block
16567d0
David Chelimsky Minor adjustments to let_spec.rb 4c6356c
David Chelimsky Changelog f1ea985
Jun 16, 2011
David Chelimsky fix failing formatter specs f14f3c2
David Chelimsky fix failing formatter specs in 1.8.7 aa6d8f5
David Chelimsky ci: pull 1.9.1 from travis build - upstream deps are causing errors 9f1018d
David Chelimsky fix failing formatter specs in 1.8.6 092a57f
David J. Hamilton Specify multiple examples by line number
- Pull request #348
2b4f7d9
David Chelimsky changelog 5ed585d
Jun 18, 2011
David Chelimsky names c240059
David Chelimsky remove unnecessary constraint on args passed to before/after/around h…
…ooks
90665b8
Jun 19, 2011
David Chelimsky Revert "remove unnecessary constraint on args passed to before/after/…
…around hooks"

This reverts commit 90665b8.
926ef86
David Chelimsky adjust for regex bug in Ruby 1.8.6
- something is eating $1 - unclear who, how, or why
d462362
David Chelimsky more names d1f7d7a
Jun 20, 2011
David J. Hamilton Fix build in 1.8.7.
Signed-off-by: Justin Ko <jko170@gmail.com>
48593c6
Justin Ko Merge pull request #408 from gunn/master
Allow classes and modules to be used as shared example group identifiers. Closes #398
2e87604
Justin Ko Iteration instead of multiple "or" d644433
Justin Ko Move example classes into the describe block. dcd5dc4
Justin Ko changelog bbd2e19
David Chelimsky fix formatter comparison files for jruby e177f16
David Chelimsky fix potentially misleading message when ruby-debug fails to load
- it was saying install 'ruby-debug' even if the problem was an upstream
  dependency
- now it uses the message from the LoadError to define the missing gem
975944c
David Chelimsky ci: exclude local dev gems from travis bundle 66e835d
David Chelimsky dev: bump aruba timeout to 5 seconds cc7273e
David Chelimsky dev: update cucumber, aruba, and move some gems around Gemfile a43cf09
Jun 21, 2011
Arthur Gunn Allow classes and modules to be used as shared example group identifi…
…ers. Helps with issue rspec/rspec-core#398.
af104f0
David Chelimsky move executables to executables dir so we can use bin for dev bin files 8c60081
David Chelimsky dev: rename feature file 4012ef2
David Chelimsky add warnings and conventions to shared examples doc
- addresses doc issue in #407, but can not close the issue until this is
  deployed to http://relishapp.com.
4f31cd0
Jun 22, 2011
David Chelimsky dev: remove bin/ from git 8ef31d7
Jun 23, 2011
David Chelimsky Merge pull request #400 from utahstreetlabs/master
Make sure nested at_exit blocks don't break exit status
71a5828
David Chelimsky changelog b2e9ee7
Jun 24, 2011
David Chelimsky Revert "Make sure nested at_exit blocks don't break exit status"
This reverts commit c24caf6.
a0d3112
David Chelimsky Revert "changelog"
This reverts commit b2e9ee7.
1b0b413
Jun 25, 2011
David Chelimsky ci: use https for travis pass/fail badge 910df11
David Chelimsky Fix bug in which --pattern option was not being recognized.
The issue was that the pattern option was being processed after the files and/or directories
to run had been determined.

- Fixes #414
caef50d
David Chelimsky Don't prepend the pattern with a directory if it is already part of t…
…he pattern.

- Fixes #415.
f8fc5f1
David Chelimsky dev: Remove declaration of rspec_path in Rake task
- this had not been necessary since we introduced bundler to the dev
  environment, but it never caused a problem until we moved the location
  of the rspec exe.

- Fixes #411.
751a65a
Jun 28, 2011
David Chelimsky fewer warnings 893d202
Jun 29, 2011
Robert Lowe Make textmate formatter run pretty 9ec353f
Jun 30, 2011
David Chelimsky Do prepend the pattern with the directory if it doesn't _start_ with …
…the directory
43acee5
Jul 01, 2011
David Chelimsky -cutables 0f55f0f
David Chelimsky more warning reduction 9189a22
Justin Ko Merge pull request #419 from RobertLowe/master
Make textmate formtatter run prettier
a2ac1c2
Justin Ko remove rails specific code 65e69cb
David Chelimsky dev: fix spec to align w/ changes to failure messages in rspec-mocks f191280
David Chelimsky dev: fix cukes to align w/ changes to failure messages in rspec-expec…
…ations
75c2cee
Jul 03, 2011
David Chelimsky add wip cuke showing how to run a spec with the ruby command
- this passes against 2.6.4, but fails against the current code,
  probably related to #379
  (which turns out to be a dup of #14)
2250694
Jul 04, 2011
Justin Ko unnecessary one-liner a44c83b
Jul 09, 2011
David Chelimsky dev: more "should ==" to "should eq" ddbe258
Jul 12, 2011
Željko Filipin list of available formatters aee68e5
David Chelimsky Merge pull request #423 from zeljkofilipin/format-option
add list of available formatters to --format option feature
60b88e5
Jul 13, 2011
David Chelimsky doc tweaks 58ca629
David Chelimsky fix gherkin lexing problem d634edb
David Chelimsky dev: upgrade cucumber f995279
David Chelimsky only use default_path when run with rspec e7bb363
Jul 17, 2011
David Chelimsky prepend 'bundle exec' in rake task
- Fixes #426.
ea70e4e
John Wilger Output failures occurring in pending blocks
When using #pending with a block inside an example, it's nice to be able to
see what is still failing within that block. This is particularly useful for
an acceptance test, e.g. when using Capybara, because you may not want your CI
server to fail the build when committing work against an incomplete feature,
but you still want to see the relevant failures. This is analogous to using a
@wip tag with cucumber tests.
a9b29ee
David Chelimsky regen gold-masters for html and textmate formatter specs 41fbbf9
David Chelimsky more parens/fewer warnings (ruby-1.8.6) a9e5709
David Chelimsky update ruby-prof 69ff670
Myron Marston Fix doc string to match example. 48d667a
Myron Marston Error out on the problematic configs rather than warning when a group
has been defined.
f46e00a
Jul 22, 2011
Jack Danger Canty Fixing grammatical typo in command-line description.
'load files those matching' -> 'load files matching'
7a43970
Justin Ko Merge pull request #429 from JackDanger/patch-1
Fixing grammatical typo in command-line description.
cf7e48d
Jul 23, 2011
David Chelimsky dev: add spork 8f44f46
David Chelimsky dev: stub a valid return value in spec 728814b
Jul 30, 2011
David Chelimsky bump the aruba timeout to 15 seconds - shouldn't really need that muc…
…h time, but silly to fail the build when some other process is hogging resources
b9f3365
Jul 31, 2011
Myron Marston Fix formatting of configuration snippet. e5d98ca
Aug 01, 2011
David Chelimsky disable drb spec when offline 38f312f
David Chelimsky fake spork in spec helper if not available 1dae214
Aug 04, 2011
Sławosz add better error message when shared context is missing
- Closes #432.
9e94666
David Chelimsky changes and slight tweaks from previous commit
- #432.
ea7351c
David Chelimsky even cleaner (better message and more signal in spec)
- #432.
3f27e7a
Aug 05, 2011
David Chelimsky delegate shared content search to single method and align error messages
- #432.
940f7fe
David Chelimsky add formatter gold masters for ruby 1.9.3 78024c2
Aug 06, 2011
John Bintz clear formatters between runs
- Closes #435.
371fc52
David Chelimsky Clear formatters rather than creating new array object, and split exa…
…mple for config.reset

- #435
af6f886
Aug 08, 2011
Pivotal Casebook Include ::Rake::DSL to avoid deprecation warnings in newer versions o…
…f rake.
a22bdb5
Justin Ko Merge pull request #437 from pivotal-casebook/patch-1
Prevent deprecation warnings in newer rake versions
897be01
Aug 09, 2011
Justin Ko changelog 7df9b24
Aug 14, 2011
David Chelimsky Only require "rspec/autorun" implicitly when using the `rspec` command.
This is a backward incompatible change, but is a fair tradeoff given the
problems caused by implicit require of "rspec/autorun" in cases that
rspec can not control.

- Closes #431.
3d810f8
David Chelimsky changes 71a9740
David Chelimsky Only include Rake::DSL if it is defined.
It is not defined in 0.8.7, which we still need to support.

- #437
ac96395
Aug 17, 2011
Jeroen van Dijk Fix travis images url e90730d
David Chelimsky Merge pull request #441 from jeroenvandijk/patch-1
Fix travis image url
eafb6dc
Aug 21, 2011
David Chelimsky update a couple of dev dependencies 7ab7f08
David Chelimsky dev: require 'rspec/autorun' (for rcov) b8bf05e
Daniel Doubrovkine (dB.) @dblockdotorg at_exit hax to ensure that rspec's exit code wins.
- Closes #410.
03a5ca5
David Chelimsky more at_exit hax to play nice w/ rcov dc290d3
Aug 22, 2011
Daniel Doubrovkine (dB.) @dblockdotorg Add cuke scenario when another at_exit hook is added later after rspe…
…c's.
021d831
David Chelimsky modify scenario to not explicitly set a diff exit code ea322b9
David Chelimsky Restore old at_exit hook. This leaves #410 open and unresolved.
Also tweak the 'upstream at_exit{exit 0}' cuke to fail correctly, but
leave it tagged @wip.
06991c4
Aug 24, 2011
David Chelimsky Add xspecify and xexample as temp pending hooks.
Thanks to Ben Mabey for the suggestion.
b5fa882
David Chelimsky dev: include rcov w/ jruby env 7cf6233
David Chelimsky Use : as file separator when passing args to rcov.
This is based on rcov's own command line documentation.

- Closes #307.
- Reverses #289.
06b4122
Aug 28, 2011
Iain Hecker Turn off drb from the command line.
- Closes #450.
11024b8
David Chelimsky Changelog plus additional examples for previous commit
- #450.
b57fb00
Aug 31, 2011
David Chelimsky dev: tweak some examples 9930ff4
Sep 06, 2011
David Chelimsky Provide a more accurate run time by registering start time before cod…
…e is loaded.
fd04952
David Chelimsky changelog 28c1b57
Sep 22, 2011
spec task should find spec files when a symlink is present a500cad
Sep 26, 2011
David Chelimsky Refactor any/all_apply? in example_group, example, and metadata. da80d2e
Sep 30, 2011
David Chelimsky refactor: rename superclass_metadata to parent_group_metadata 0896edf
David Chelimsky delay evaluation of full_description (don't always need it) 87354eb
Oct 01, 2011
David Chelimsky ci: stick to travis-supported rubies 111b619
David Chelimsky lazy eval description, full_description, and describes
- doesn't have much impact yet since the autogen descriptions still
  check for the presence of description, therefore it gets eval'd, but
  that is fixable!
0704cbb
David Chelimsky ignore rbx files 7701944
David Chelimsky what's this? I don't know!! REMOVE IT!!! 58964da
David Chelimsky dev: update Gemfile for ruby-1.9.3 39a074a
fix for html formatter pulling the wrong snippets 89530e6
David Chelimsky Make sure textmate formatter doesn't try to get snippet from textmate…
…-formatted URL.

- Closes #214.
68d51bb
David Chelimsky Revert "Refactor any/all_apply? in example_group, example, and metada…
…ta."

This reverts commit da80d2e, which
introduced failures in some rubies, but not all (so I didn't notice
them).
13f6889
David Chelimsky Do-over: Refactor any/all_apply? in example_group, example, and metad…
…ata.

This restores 13f6889 with small
adjustment that is necessary for some versions of Ruby, but not all :)
bad6adc
David Chelimsky Changelog for #214 e666dd1
David Chelimsky One more time: revert "Do-over: Refactor any/all_apply? in example_gr…
…oup, example, and metadata."

This reverts commit bad6adc.
1680d32
David Chelimsky And, once again: Refactor any/all_apply? in example_group, example, a…
…nd metadata.

This reverts commit 1680d32.

The problem was world was checking example.any_apply? which also checks
its example group. By going directly to the example's
metadata.any_apply?, we avoid checking the example group and all is
right with the world.
3d90f00
David Chelimsky remove unused method 50f8055
David Chelimsky Merge pull request #459 from kellyfelkins/master
Enable the spec task to traverse symlinked directories
a7a3f2a
David Chelimsky simplify spec for rake task with paths with symlinked dirs f300e81
David Chelimsky Use glob pattern that supports real and symlinked dirs as well as imm…
…ediate children.

- #459
20ed0c6
David Chelimsky Changelog for #459 ca3c0fc
Oct 02, 2011
David Chelimsky Ensure support for overriding described class.
Fixes bug introduced by 0704cbb and
exposed in rspec-rails.

Also refactored some names in Metadata.
50df862
David Chelimsky Fix full description generation bug 810895a
David Chelimsky reorg and add some docs to Metadata 25b1ff5
David Chelimsky nested group returns own described class if parent doesn't have one 2336a7f
Oct 08, 2011
Sidu Ponnappa Increase Aruba's timeout to compensate for JVM startup
- Closes #344.
e2cfa43
David Chelimsky ci: add jruby to travis config
- #344.
cf80330
Oct 09, 2011
David Chelimsky remove java class files from cleaned JRuby backtraces 7fb9b62
David Chelimsky ci: don't run against jruby on travis
Travis has a 1500 second build timeout. Firing up a new jvm for each
cuke scenario causes this build to exceed that time.
eebf8ba
David Chelimsky Deprecate skip_bundler and gemfile options on rake task. Check for
presence of BUNDLE_GEMFILE instead.

- Closes #454.
d731a27
David Chelimsky bump to 2.7.0.rc1 ade146c