Skip to content
This repository
  • 326 commits
  • 129 files changed
  • 20 contributors
This comparison is big! We're only showing the most recent 250 commits
Jun 21, 2011
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
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
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.
David Chelimsky Revert "changelog"
This reverts commit b2e9ee7.
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
David Chelimsky Don't prepend the pattern with a directory if it is already part of t…
…he pattern.

- Fixes #415.
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.
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
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
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…
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)
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
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.
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.
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.
Jul 22, 2011
Jack Danger Canty Fixing grammatical typo in command-line description.
'load files those matching' -> 'load files matching'
Justin Ko Merge pull request #429 from JackDanger/patch-1
Fixing grammatical typo in command-line description.
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
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.
David Chelimsky changes and slight tweaks from previous commit
- #432.
David Chelimsky even cleaner (better message and more signal in spec)
- #432.
Aug 05, 2011
David Chelimsky delegate shared content search to single method and align error messages
- #432.
David Chelimsky add formatter gold masters for ruby 1.9.3 78024c2
Aug 06, 2011
John Bintz clear formatters between runs
- Closes #435.
David Chelimsky Clear formatters rather than creating new array object, and split exa…
…mple for config.reset

- #435
Aug 08, 2011
Pivotal Casebook Include ::Rake::DSL to avoid deprecation warnings in newer versions o…
…f rake.
Justin Ko Merge pull request #437 from pivotal-casebook/patch-1
Prevent deprecation warnings in newer rake versions
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.
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
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
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.
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…
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.
Aug 24, 2011
David Chelimsky Add xspecify and xexample as temp pending hooks.
Thanks to Ben Mabey for the suggestion.
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.
Aug 28, 2011
Iain Hecker Turn off drb from the command line.
- Closes #450.
David Chelimsky Changelog plus additional examples for previous commit
- #450.
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.
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!
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.
David Chelimsky Revert "Refactor any/all_apply? in example_group, example, and metada…

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

This restores 13f6889 with small
adjustment that is necessary for some versions of Ruby, but not all :)
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.
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.
David Chelimsky remove unused method 50f8055
David Chelimsky Merge pull request #459 from kellyfelkins/master
Enable the spec task to traverse symlinked directories
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
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.
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.
David Chelimsky ci: add jruby to travis config
- #344.
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.
David Chelimsky Deprecate skip_bundler and gemfile options on rake task. Check for
presence of BUNDLE_GEMFILE instead.

- Closes #454.
David Chelimsky bump to 2.7.0.rc1 ade146c
David Chelimsky bump relish version to ~> 0.5.0 708a4f1
David Chelimsky Don't do anything with bundler at all - bundler does it for us!
See #454 for more info.

- #454
David Chelimsky changelog for last commit 78abc61
David Chelimsky better changelog ... 59ddb79
Oct 10, 2011
David Chelimsky more Upgrade info 8e0b53f
David Chelimsky doc: tweak the upgrade page 03b4c5c
Oct 11, 2011
Chris Griego Add --failure-exit-code option 2d98e91
Oct 12, 2011
David Chelimsky Merge pull request #472 from cgriego/failure-exit-code
Add --failure-exit-code option
David Chelimsky changelog 7ef7112
Oct 13, 2011
Justin Ko Remove unneeded "begin" keyword. 87aa7b0
Oct 14, 2011
Justin Ko upgrade guard-rspec and rb-fsevent 92f273b
Justin Ko --order in option parser 23211ab
Justin Ko setup aruba 392862f
Justin Ko Start with a failing command line spec. e67e920
Sam Umbach Fix typo in feature description a18fdfb
Myron Marston Merge pull request #474 from sumbach/patch-1
Fix typo in feature description
Oct 16, 2011
David Chelimsky Make the source more yardoc friendly
- added .yardopts
- removed :nodoc: tags
David Chelimsky remove obsolete install_directory method 7bed578
David Chelimsky clean up some of the generated rdoc ff3510b
David Chelimsky update changelog for 2.7.0 release 5bd1ccf
David Chelimsky bump version to 2.7.0 b4a0f7d
David Chelimsky fix formatting problems in the changelog 869855b
Oct 17, 2011
David Chelimsky tell autotest the correct place to find the rspec command
- Fixes #478.
Oct 20, 2011
David Chelimsky RSPEC_EXECUTABLE (better name) 67a5d26
David Chelimsky bump to 2.7.1 d63dc5d
David Chelimsky fix the link to full changelog 824bd96
Justin Ko --randomize and --seed fde5955
Sam Umbach Fix typo in feature description 3d4a430
David Chelimsky Make the source more yardoc friendly
- added .yardopts
- removed :nodoc: tags
David Chelimsky remove obsolete install_directory method 0c43721
David Chelimsky clean up some of the generated rdoc 02904f1
David Chelimsky update changelog for 2.7.0 release eba3bb2
David Chelimsky bump version to 2.7.0 aa13e08
David Chelimsky fix formatting problems in the changelog 8896086
David Chelimsky tell autotest the correct place to find the rspec command
- Fixes #478.
David Chelimsky RSPEC_EXECUTABLE (better name) 572bfc3
David Chelimsky bump to 2.7.1 52d358a
David Chelimsky fix the link to full changelog 359abbc
Justin Ko Order filtered examples, rather than all the examples. 8c2317a
Justin Ko Extract ordering functionality to module used for extension. ad92816
Justin Ko Remove extra line. 5062363
Oct 21, 2011
Justin Ko Show the seed in the reporter output. Make a default seed. 55e0181
Justin Ko Randomize if only --seed is passed. d36f43b
Oct 22, 2011
Justin Ko Assert that all of the examples/groups are randomized, not just the f…
…irst one.
Justin Ko Merge branch 'ordering' b29fe81
Justin Ko changelog f9f36ae
Justin Ko Fix order dependent spec. b46d6bc
Justin Ko Fix failing cuke. 6e704a5
Oct 23, 2011
David Chelimsky use the lib name in the doc d76ab7f
David Chelimsky refactor randomize_spec 0973319
David Chelimsky Separate cli specs from the rest (they're SLOW)
Also use FakeFS instead of stubbing IO
David Chelimsky need fakefs for ci 724b8ef
Justin Ko Increase number of examples and groups back to ten - to reduce chance…
… of spec failure.
Justin Ko Change to --order from --randomize 08876c2
Justin Ko changelog 8c5bd45
Justin Ko Fix spec 3c7cd42
Justin Ko Add specs for --order config methods. 1f68e25
Justin Ko Fix build for 1.8 987c49f
Oct 24, 2011
David Chelimsky rdoc 98838f7
David Chelimsky rdoc tweaks 3a90caa
David Chelimsky more rdoc 44716eb
David Chelimsky Handle special command line tag values
foo       # :foo => true
foo:true  # :foo => true
foo:false # :foo => false
foo:nil   # :foo => nil
David Chelimsky add spec for merged command line filters 3d06ac3
Oct 25, 2011
David Chelimsky Refactor inclusion/exclusion filters to clarify intent
This is in preparation for better handling of conflicting
inclusion/exclusion filters.
David Chelimsky not all command line args are supported by configuration
e.g. custom_options_file
Aaron Gibralter Make sure the `bar` in `--tag foo:bar` makes it to DRb
Before this change, `--tag foo:bar` would end up as `--tag foo` in the
drb options. After this change, `--tag foo:bar` makes it over drb

- Fixes #486.
- Fixes #480.
David Chelimsky changelog
- #486.
Justin Ko Add --order option to DRB d95d503
Justin Ko Fix order dependent specs by clearing the fake file system. 7bc4ad1
Justin Ko Set the default order to :random b8cf144
David Chelimsky rdoc and rename internal constant ec399f7
Justin Ko Add a line after the seed. 8211b0b
Oct 26, 2011
David Chelimsky fix issue with exclusion filter handling symbols f70effd
Oct 28, 2011
Justin Ko bad doc 598e722
David Chelimsky couple of rdoc comments bf0d104
David Chelimsky move drb_argv to its own class 09d0e89
David Chelimsky autoload SharedContext and formalize it's availability as
RSpec::SharedContext with a spec.
David Chelimsky support let in SharedContext 5fd8dab
David Chelimsky support context/describe for nested groups in SharedContext b2da24d
David Chelimsky Opposite filters (tags) with higher precedence cancel out those with …
…lower precedence

Beginning to address #369 and #327.

This commit deals with command line, ENV and file options, but does not
address options defined with RSpec.configure. Once that's addressed we
can close #369 and #327.

This does, implicitly, let --tag options set in rake tasks overwrite
those in option files.
David Chelimsky fix syntax error on 1.8.7 b1f1471
David Chelimsky bump ZenTest to silence 1.9.3 deprecation warning dc102cb
David Chelimsky dev: reorder the config options 8d8befc
Oct 29, 2011
David Chelimsky refactor configuration: use attr_readers w/ ivars instead of a separa…
…te settings hash
David Chelimsky align mock_with/mock_framework= with expect_with/expectation_framework=
One of each pair delegates to the other, but they were backward from
each other.
David Chelimsky add -w flag when running rake spec 4229554
David Chelimsky add benchmarks on define_method v attr_reader v def 8d53640
David Chelimsky Add :alias_with option to configuration.add_setting and deprecate the
:alias key.
David Chelimsky Fix bug where full descriptions of groups nested 3 deep were repeated.
- Fixes #477.
David Chelimsky dev: eliminate a warning generated in the specs e3c842b
Oct 30, 2011
Matijs van Zuijlen Eliminate the remaining warnings emitted by rspec-core.
There are still some emitted by upstream dependencies.

- Closes #488.
David Chelimsky update changelog for #488 9fb2798
David Chelimsky dev: fix ruby-debug version (and deps) for 1.9.2 9a85bd9
David Chelimsky cap Ruby in changelog d36faf2
David Chelimsky align order option on CLI and in RSpec.config (was orderby in the lat…
David Chelimsky dev: use --tag ui for spec:ui
This was managed with a special options file, but we don't need that now
that tags in rake task's rspec_opts can override those in .rspec.
David Chelimsky change seed_to_report to seed (it works the same way, and we don't ne…
…ed a separate method for it)
David Chelimsky Support --seed 123 (equivalent of --order rand:123) a116b36
David Chelimsky changelog for prev commit 4406e9f
David Chelimsky Restore reported run time to begin after files are loaded.
- was causing problems for spork users and others.
- closes #475.

This reverts commit fd04952, with
a couple of minor changes/additions.
David Chelimsky move order option to .rspec file so it can be overridden on the CLI 024638f
David Chelimsky add '--order default' option
This allows you to override --order rand in a .rspec file from the CLI.
It actually worked before, but it was completely by accident - this
makes it explicit and less likely to regress in the future.

Related to #403.
David Chelimsky Gherkin loves HTML more than Markdown 529d467
David Chelimsky config.seed always returns the @seed value
Moved the responsibility of not reporting a seed if not randomizing
to CommandLine.
Nov 01, 2011
David Chelimsky formalize Reporter#report as an API to support extensions like intera…
David Chelimsky dev: gemfile tweaks ac66e9f
David Chelimsky doc: how about a touch of abstraction cc0468f
David Chelimsky doc: make Warning look like other yardoc tags 6050b3c
David Chelimsky doc: make Warning look even more like other yardoc tags f6fb5ac
Nov 02, 2011
Myron Marston Fix spec so it matches with the description.
The old spec wasn't actually specifying anything.
Myron Marston Simplify how the expect_with configuration works.
- There's no need to include RSpec::Matchers or Test::Unit::Assertions into an adapter module when we can just include them directly.
- It makes it possible to interrogate @expectation_frameworks to see what was already configured and included.  Before, @expectation_frameworks contained [RSpec::Core::ExpectationFrameworkAdapter], regardless of what was configured.
Myron Marston Don't raise an error when the user is re-setting the existing config. f2dc2f8
Nov 03, 2011
David Chelimsky changelog for #494 and #490 294e379
David Chelimsky Change config.color_enabled (getter/setter/predicate) to color to align
with --[no]-color CLI option.

- color_enabled is still supported for now, but will likely be
  deprecated in a 2.x release so we can remove it in 3.0.
David Chelimsky spec both color and color_enabled 60379b8
David Chelimsky --color on command line or in .rspec (etc) overrides setting in RSpec…
David Chelimsky CLI tags override their inverses in file options and RSpec.configure
Fixes #369.
David Chelimsky Fix bug with full_description and line_numbers= from previous commit. 61c8ec6
David Chelimsky no need for special handling 62f8c43
David Chelimsky (Almost) all command line args can now override RSpec.configure
- Closes #369.
David Chelimsky eliminate the many, many warnings introduced by last commit 9b8e1d1
David Chelimsky don't force line_number or full_description (both of which work bette…
…r on the CLI)
Nov 04, 2011
David Chelimsky path/to/file.rb:37 overrides other filters 6ecf82b
David Chelimsky Restore rand:seed behavior
--order and --seed no longer override RSpec.configure. They should, so
this should be revisited, but this gets the common case working again.
Nov 05, 2011
David Chelimsky just add seed and order to the non-forced-options list 1599198
David Chelimsky don't force debug (restores debug behavior) aab0cba
David Chelimsky add benchmark that runs a spec with many examples 83a299f
David Chelimsky begin to move filter management to a single Filter object 9eb45d3
David Chelimsky filter using Filter instead of calling the inclusion/exclusion filter…
…s separately
David Chelimsky ConfigurationOptions uses Filter to manage merging 8062102
David Chelimsky Improve display of run options 765d8c7
David Chelimsky reduce feature envy on Filter 799d2bd
David Chelimsky rename Filter to FilterManager d9115a7
David Chelimsky fix cukes related to filtering 8285766
David Chelimsky changelog d3604a9
David Chelimsky only add a newline if there are both inclusion and exclusion filters e524fa2
David Chelimsky remove unnecessary alias d8b7d36
David Chelimsky delete obsolete methods 939c765
David Chelimsky deprecate :if and :unless as keys for RSpec.configuration.filter_run_…
David Chelimsky organize the output from rspec --help 8b86187
David Chelimsky rdoc updates ef11f68
David Chelimsky more rdoc updates 1959d05
Nov 06, 2011
David Chelimsky rdoc: hooks, configuration, and more fc67575
David Chelimsky rdoc: ordering info for after hooks 0f9aa32
David Chelimsky reformat the changelog file 3df9693
David Chelimsky bump to 2.8.0.rc1 4ac7447