Skip to content

Instantly share code, notes, and snippets.

@kaiwren
Created March 25, 2011 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaiwren/887068 to your computer and use it in GitHub Desktop.
Save kaiwren/887068 to your computer and use it in GitHub Desktop.
(in /Users/sidu/Work/Rspec/rspec-core)
zsh:1: no matches found: bin/*
zsh:1: no matches found: bin/*
zsh:1: no matches found: bin/*
zsh:1: no matches found: bin/*
No examples were matched by {:focus=>true}, running all
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.................................
Pending:
RSpec::Core::Formatters::BaseFormatter read_failed_line when String alias to_int to_i doesn't hang when file exists
# This issue still exists on JRuby, but should be resolved shortly: https://github.com/rspec/rspec-core/issues/295
# ./spec/rspec/core/formatters/base_formatter_spec.rb:48
Finished in 10.29 seconds
613 examples, 0 failures, 1 pending
bundle exec /Users/sidu/.rvm/rubies/jruby-1.6.0/bin/jruby -I "/Users/sidu/.rvm/gems/jruby-1.6.0@rspeccore/gems/cucumber-0.9.4/lib:lib" "/Users/sidu/.rvm/gems/jruby-1.6.0@rspeccore/gems/cucumber-0.9.4/bin/cucumber"
zsh:1: no matches found: bin/*
zsh:1: no matches found: bin/*
zsh:1: no matches found: bin/*
zsh:1: no matches found: bin/*
Using the default profile...
....................................................................................................................................................................................F-...F...F.....................zsh:1: no such user or named directory: skip
.F.........................................................................................................................................................................................F..............................................................................................................................................................................F-...............................................................................................
(::) failed steps (::)
expected: /ruby\ \-S\ rspec/
got: "" (using =~)
Diff:
@@ -1,2 +1 @@
-/ruby\ \-S\ rspec/
(RSpec::Expectations::ExpectationNotMetError)
org/jruby/RubyProc.java:268:in `call'
features/command_line/rake_task.feature:23:in `Then the stderr should contain "ruby -S rspec"'
expected: 1
got: 7 (using ==) (RSpec::Expectations::ExpectationNotMetError)
org/jruby/RubyProc.java:268:in `call'
features/command_line/rake_task.feature:44:in `Then the exit status should be 1'
expected: 0
got: 7 (using ==) (RSpec::Expectations::ExpectationNotMetError)
org/jruby/RubyProc.java:268:in `call'
features/command_line/rake_task.feature:66:in `Then the exit status should be 0'
expected: /0\ failures/
got: "" (using =~)
Diff:
@@ -1,2 +1 @@
-/0\ failures/
(RSpec::Expectations::ExpectationNotMetError)
org/jruby/RubyProc.java:268:in `call'
features/command_line/tag.feature:61:in `Then the examples should all pass'
expected: /Failures:\n\n\ \ 1\)\ Integer\ has\ a\ failing\ example\n\ \ \ \ \ Failure\/Error:\ \(7\ \+\ 5\)\.should\ ==\ 11\n\ \ \ \ \ \ \ expected:\ 11\n\ \ \ \ \ \ \ \ \ \ \ \ got:\ 12\ \(using\ ==\)\n\ \ \ \ \ \#\ \.\/integer_spec\.rb:5\n\n\ \ 2\)\ String\ has\ a\ failing\ example\n\ \ \ \ \ Failure\/Error:\ "foo"\.reverse\.should\ ==\ "ofo"\n\ \ \ \ \ \ \ expected:\ "ofo"\n\ \ \ \ \ \ \ \ \ \ \ \ got:\ "oof"\ \(using\ ==\)\n\ \ \ \ \ \#\ \.\/string_spec\.rb:5/
got: "FF\n\nFailures:\n\n 1) Integer has a failing example\n Failure/Error: (7 + 5).should == 11\n expected: 11\n got: 12 (using ==)\n # org/jruby/RubyProc.java:268\n # ./integer_spec.rb:5\n # org/jruby/RubyKernel.java:2007\n # org/jruby/RubyArray.java:2306\n # org/jruby/RubyArray.java:2306\n\n 2) String has a failing example\n Failure/Error: \"foo\".reverse.should == \"ofo\"\n expected: \"ofo\"\n got: \"oof\" (using ==)\n # org/jruby/RubyProc.java:268\n # ./string_spec.rb:5\n # org/jruby/RubyKernel.java:2007\n # org/jruby/RubyArray.java:2306\n # org/jruby/RubyArray.java:2306\n\nFinished in 0.015 seconds\n2 examples, 2 failures\n\n----------------------------------------------------------------------\nzsh:1: no matches found: bin/*\nzsh:1: no matches found: bin/*" (using =~)
Diff:
@@ -1,2 +1,31 @@
-/Failures:\n\n\ \ 1\)\ Integer\ has\ a\ failing\ example\n\ \ \ \ \ Failure\/Error:\ \(7\ \+\ 5\)\.should\ ==\ 11\n\ \ \ \ \ \ \ expected:\ 11\n\ \ \ \ \ \ \ \ \ \ \ \ got:\ 12\ \(using\ ==\)\n\ \ \ \ \ \#\ \.\/integer_spec\.rb:5\n\n\ \ 2\)\ String\ has\ a\ failing\ example\n\ \ \ \ \ Failure\/Error:\ "foo"\.reverse\.should\ ==\ "ofo"\n\ \ \ \ \ \ \ expected:\ "ofo"\n\ \ \ \ \ \ \ \ \ \ \ \ got:\ "oof"\ \(using\ ==\)\n\ \ \ \ \ \#\ \.\/string_spec\.rb:5/
+FF
+
+Failures:
+
+ 1) Integer has a failing example
+ Failure/Error: (7 + 5).should == 11
+ expected: 11
+ got: 12 (using ==)
+ # org/jruby/RubyProc.java:268
+ # ./integer_spec.rb:5
+ # org/jruby/RubyKernel.java:2007
+ # org/jruby/RubyArray.java:2306
+ # org/jruby/RubyArray.java:2306
+
+ 2) String has a failing example
+ Failure/Error: "foo".reverse.should == "ofo"
+ expected: "ofo"
+ got: "oof" (using ==)
+ # org/jruby/RubyProc.java:268
+ # ./string_spec.rb:5
+ # org/jruby/RubyKernel.java:2007
+ # org/jruby/RubyArray.java:2306
+ # org/jruby/RubyArray.java:2306
+
+Finished in 0.015 seconds
+2 examples, 2 failures
+
+----------------------------------------------------------------------
+zsh:1: no matches found: bin/*
+zsh:1: no matches found: bin/*
(RSpec::Expectations::ExpectationNotMetError)
org/jruby/RubyProc.java:268:in `call'
./features/step_definitions/additional_cli_steps.rb:29:in `(root)':in `/^the backtrace\-normalized output should contain:$/'
features/formatters/text_formatter.feature:29:in `Then the backtrace-normalized output should contain:'
expected: /0\ failures/
got: "F\n\nFailures:\n\n 1) plugging in rr allows rr to be used\n Failure/Error: target.foo\n NoMethodError:\n undefined method `class_eval' for nil:NilClass\n # ./rr_example_spec.rb:9:in `(root)'\n # org/jruby/RubyKernel.java:2007:in `instance_eval'\n # org/jruby/RubyArray.java:2306:in `collect'\n # org/jruby/RubyArray.java:2306:in `collect'\n\nFinished in 0.04 seconds\n1 example, 1 failure\n\n----------------------------------------------------------------------\nzsh:1: no matches found: bin/*\nzsh:1: no matches found: bin/*\n/Users/sidu/.rvm/gems/jruby-1.6.0@rspeccore/gems/rr-1.0.2/lib/rr/injections/double_injection.rb:133 warning: ObjectSpace is disabled; _id2ref only supports immediates, pass -X+O to enable\n" (using =~)
Diff:
@@ -1,2 +1,21 @@
-/0\ failures/
+F
+
+Failures:
+
+ 1) plugging in rr allows rr to be used
+ Failure/Error: target.foo
+ NoMethodError:
+ undefined method `class_eval' for nil:NilClass
+ # ./rr_example_spec.rb:9:in `(root)'
+ # org/jruby/RubyKernel.java:2007:in `instance_eval'
+ # org/jruby/RubyArray.java:2306:in `collect'
+ # org/jruby/RubyArray.java:2306:in `collect'
+
+Finished in 0.04 seconds
+1 example, 1 failure
+
+----------------------------------------------------------------------
+zsh:1: no matches found: bin/*
+zsh:1: no matches found: bin/*
+/Users/sidu/.rvm/gems/jruby-1.6.0@rspeccore/gems/rr-1.0.2/lib/rr/injections/double_injection.rb:133 warning: ObjectSpace is disabled; _id2ref only supports immediates, pass -X+O to enable
(RSpec::Expectations::ExpectationNotMetError)
org/jruby/RubyProc.java:268:in `call'
features/mock_framework_integration/use_rr.feature:22:in `Then the examples should all pass'
Failing Scenarios:
cucumber features/command_line/rake_task.feature:5 # Scenario: default options with passing spec (prints command and exit status is 0)
cucumber features/command_line/rake_task.feature:26 # Scenario: default options with failing spec (exit status is 1)
cucumber features/command_line/rake_task.feature:46 # Scenario: fail_on_error = false with failing spec (exit status is 0)
cucumber features/command_line/tag.feature:59 # Scenario: exclude examples with a simple tag
cucumber features/formatters/text_formatter.feature:7 # Scenario: Backtrace formatting for failing specs in multiple files
cucumber features/mock_framework_integration/use_rr.feature:6 # Scenario: Mock with rr
157 scenarios (6 failed, 151 passed)
659 steps (6 failed, 2 skipped, 651 passed)
15m7.752s
rake aborted!
Command failed with status (1): [bundle exec /Users/sidu/.rvm/rubies/jruby-...]
/Users/sidu/Work/Rspec/rspec-core/Rakefile:17:in `run'
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment