Skip to content

Instantly share code, notes, and snippets.

@halorgium
Created October 18, 2013 05:29
Show Gist options
  • Save halorgium/6d00c2ea8baccf4f4003 to your computer and use it in GitHub Desktop.
Save halorgium/6d00c2ea8baccf4f4003 to your computer and use it in GitHub Desktop.
Run options: -I test -v
# Running tests:
ListenWatcherTest#test_add_dot_relative_path = 0.00 s = .
ListenWatcherTest#test_add_non_existant_file = 0.00 s = .
ListenWatcherTest#test_add_relative_path = 0.00 s = .
ListenWatcherTest#test_adding_doesnt_wipe_stale_state = [Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
0.13 s = .
ListenWatcherTest#test_can_io_select = [Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
0.12 s = .
ListenWatcherTest#test_is_stale_when_a_file_is_changed_in_a_watched_directory = [Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
0.12 s = .
ListenWatcherTest#test_is_stale_when_a_watched_file_is_updated = [Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
0.12 s = .
ListenWatcherTest#test_is_stale_when_files_are_added_to_a_watched_directory = [Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
0.12 s = .
ListenWatcherTest#test_is_stale_when_removing_files = [Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
0.12 s = .
ListenWatcherTest#test_root_directories = 0.00 s = .
ListenWatcherTest#test_starting_with_no_file = [Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
0.13 s = .
PollingWatcherTest#test_add_dot_relative_path = 0.00 s = .
PollingWatcherTest#test_add_non_existant_file = 0.00 s = .
PollingWatcherTest#test_add_relative_path = 0.00 s = .
PollingWatcherTest#test_adding_doesnt_wipe_stale_state = 0.01 s = .
PollingWatcherTest#test_can_io_select = 0.00 s = .
PollingWatcherTest#test_is_stale_when_a_file_is_changed_in_a_watched_directory = 0.01 s = .
PollingWatcherTest#test_is_stale_when_a_watched_file_is_updated = 0.01 s = .
PollingWatcherTest#test_is_stale_when_files_are_added_to_a_watched_directory = 0.01 s = .
PollingWatcherTest#test_is_stale_when_removing_files = 0.01 s = .
PollingWatcherTest#test_starting_with_no_file = 0.01 s = .
Finished tests in 0.966894s, 21.7190 tests/s, 36.1984 assertions/s.
21 tests, 35 assertions, 0 failures, 0 errors, 0 skips
ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.5.0]
coltrane:spring tim$ bundle exec testrb -I test -v test/**/*_test.rb
Run options: -I test -v
# Running tests:
AppTest#test_after_fork_callback = ^C
Finished tests in 4.545147s, 0.0000 tests/s, 0.0000 assertions/s.
0 tests, 0 assertions, 0 failures, 0 errors, 0 skips
Interrupted
coltrane:spring tim$ bundle exec rake
/Users/tim/.rbenv/versions/2.0.0-p247/bin/ruby -I"lib:test" -I"/Users/tim/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib" "/Users/tim/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb" "test/unit/client/help_test.rb" "test/unit/commands_test.rb" "test/unit/process_title_updater_test.rb" "test/unit/watcher_test.rb"
Run options: --seed 32767
# Running tests:
..........[Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
.[Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
.[Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
.[Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
.[Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
.[Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
..[Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
..............
Finished tests in 0.970715s, 31.9352 tests/s, 52.5386 assertions/s.
31 tests, 51 assertions, 0 failures, 0 errors, 0 skips
/Users/tim/.rbenv/versions/2.0.0-p247/bin/ruby -I"lib:test" -I"/Users/tim/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib" "/Users/tim/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb" "test/acceptance/app_test.rb"
Run options: --seed 25322
# Running tests:
.FF....FF.........F
Finished tests in 196.581961s, 0.0967 tests/s, 0.3052 assertions/s.
1) Failure:
AppTest#test_app_gets_reloaded_when_preloaded_files_change_(listen_watcher) [/Users/tim/Projects/spring/test/acceptance/app_test.rb:316]:
expected unsuccessful exit status
$ /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/bin/spring testunit /Users/tim/Projects/spring/test/apps/rails-4-0/test/controllers/posts_controller_test.rb
--- log ---
[2013-10-18 18:23:20 +1300] [application:test] watcher stale; exiting
[2013-10-18 18:23:20 +1300] [application:test] preloading app
[2013-10-18 18:23:20 +1300] [server] accepted client
[2013-10-18 18:23:20 +1300] [server] running command testunit
[2013-10-18 18:23:20 +1300] [client] sending command
[2013-10-18 18:23:21 +1300] [application:test] running
[2013-10-18 18:23:22 +1300] [application:test] got client
[2013-10-18 18:23:22 +1300] [application:test] forked 13198
[2013-10-18 18:23:22 +1300] [server] got worker pid 13198
[2013-10-18 18:23:22 +1300] [client] got pid: 13198
[2013-10-18 18:23:22 +1300] [application:test] 13198 exited with 0
[2013-10-18 18:23:22 +1300] [client] got exit status 0
2) Failure:
AppTest#test_app_gets_reloaded_when_preloaded_files_change_(polling_watcher) [/Users/tim/Projects/spring/test/acceptance/app_test.rb:300]:
expected unsuccessful exit status
$ /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/bin/spring testunit /Users/tim/Projects/spring/test/apps/rails-4-0/test/controllers/posts_controller_test.rb
--- log ---
[2013-10-18 18:23:29 +1300] [application:test] watcher stale; exiting
[2013-10-18 18:23:29 +1300] [application:test] preloading app
[2013-10-18 18:23:29 +1300] [server] accepted client
[2013-10-18 18:23:29 +1300] [server] running command testunit
[2013-10-18 18:23:29 +1300] [client] sending command
[2013-10-18 18:23:29 +1300] [application:test] running
[2013-10-18 18:23:29 +1300] [application:test] got client
[2013-10-18 18:23:29 +1300] [application:test] forked 13223
[2013-10-18 18:23:29 +1300] [server] got worker pid 13223
[2013-10-18 18:23:29 +1300] [client] got pid: 13223
[2013-10-18 18:23:29 +1300] [application:test] 13223 exited with 0
[2013-10-18 18:23:29 +1300] [client] got exit status 0
3) Failure:
AppTest#test_code_changes_are_picked_up [/Users/tim/Projects/spring/test/acceptance/app_test.rb:252]:
expected stdout to include '0 failures'.
$ /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/bin/spring testunit /Users/tim/Projects/spring/test/apps/rails-4-0/test/controllers/posts_controller_test.rb
--- log ---
[2013-10-18 18:24:00 +1300] [server] started on /Users/tim/Projects/spring/test/apps/rails-4-0/tmp/spring/spring
[2013-10-18 18:24:00 +1300] [server] accepted client
[2013-10-18 18:24:00 +1300] [server] running command testunit
[2013-10-18 18:24:00 +1300] [server] child not running; starting
[2013-10-18 18:24:00 +1300] [client] sending command
[2013-10-18 18:24:00 +1300] [application:test] running
[2013-10-18 18:24:00 +1300] [application:test] got client
[2013-10-18 18:24:00 +1300] [application:test] preloading app
[2013-10-18 18:24:01 +1300] [application:test] forked 13311
[2013-10-18 18:24:01 +1300] [server] got worker pid 13311
[2013-10-18 18:24:01 +1300] [client] got pid: 13311
[2013-10-18 18:24:01 +1300] [application:test] 13311 exited with 0
[2013-10-18 18:24:01 +1300] [client] got exit status 0
4) Failure:
AppTest#test_code_changes_in_pre-referenced_app_files_are_picked_up [/Users/tim/Projects/spring/test/acceptance/app_test.rb:265]:
expected successful exit status
$ /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/bin/spring testunit /Users/tim/Projects/spring/test/apps/rails-4-0/test/controllers/posts_controller_test.rb
--- stderr ---
/Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:463:in `load_missing_constant': Unable to autoload constant PostsController, expected /Users/tim/Projects/spring/test/apps/rails-4-0/app/controllers/posts_controller.rb to define it (LoadError)
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:183:in `const_missing'
from /Users/tim/Projects/spring/test/apps/rails-4-0/config/initializers/load_posts_controller.rb:1:in `<top (required)>'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `block in load'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:609:in `block (2 levels) in <class:Engine>'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:608:in `each'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:608:in `block in <class:Engine>'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `run'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/tim/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
from /Users/tim/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
from /Users/tim/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
from /Users/tim/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
from /Users/tim/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:180:in `each'
from /Users/tim/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
from /Users/tim/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:215:in `initialize!'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/tim/Projects/spring/test/apps/rails-4-0/config/environment.rb:5:in `<top (required)>'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application.rb:55:in `require'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application.rb:55:in `preload'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application.rb:99:in `serve'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application.rb:81:in `block in run'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application.rb:71:in `loop'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application.rb:71:in `run'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application_manager.rb:103:in `block in start_child'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application_manager.rb:90:in `fork'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application_manager.rb:90:in `start_child'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application_manager.rb:30:in `start'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application_manager.rb:56:in `block in with_child'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application_manager.rb:24:in `synchronize'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application_manager.rb:43:in `with_child'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/application_manager.rb:64:in `run'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/server.rb:69:in `serve'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/server.rb:54:in `block in start_server'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/server.rb:54:in `loop'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/server.rb:54:in `start_server'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/server.rb:45:in `boot'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/server.rb:20:in `boot'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/client/run.rb:36:in `block in boot_server'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/client/run.rb:34:in `fork'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/client/run.rb:34:in `boot_server'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/client/run.rb:18:in `call'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/client/command.rb:7:in `call'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/lib/spring/client.rb:23:in `run'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/gems/spring-0.0.11/bin/spring:6:in `<top (required)>'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/bin/spring:23:in `load'
from /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/bin/spring:23:in `<main>'
--- log ---
[2013-10-18 18:24:04 +1300] [server] started on /Users/tim/Projects/spring/test/apps/rails-4-0/tmp/spring/spring
[2013-10-18 18:24:04 +1300] [server] accepted client
[2013-10-18 18:24:04 +1300] [server] running command testunit
[2013-10-18 18:24:04 +1300] [client] sending command
[2013-10-18 18:24:04 +1300] [server] child not running; starting
[2013-10-18 18:24:04 +1300] [application:test] running
[2013-10-18 18:24:04 +1300] [application:test] got client
[2013-10-18 18:24:04 +1300] [application:test] preloading app
[2013-10-18 18:24:04 +1300] [server] got worker pid
[2013-10-18 18:24:04 +1300] [client] got no pid
5) Failure:
AppTest#test_test_changes_are_picked_up [/Users/tim/Projects/spring/test/acceptance/app_test.rb:243]:
expected stdout to include '0 failures'.
$ /Users/tim/Projects/spring/test/apps/rails-4-0/vendor/gems/2.0.0/bin/spring testunit /Users/tim/Projects/spring/test/apps/rails-4-0/test/controllers/posts_controller_test.rb
--- log ---
[2013-10-18 18:24:39 +1300] [server] started on /Users/tim/Projects/spring/test/apps/rails-4-0/tmp/spring/spring
[2013-10-18 18:24:39 +1300] [server] accepted client
[2013-10-18 18:24:39 +1300] [server] running command testunit
[2013-10-18 18:24:39 +1300] [client] sending command
[2013-10-18 18:24:39 +1300] [server] child not running; starting
[2013-10-18 18:24:39 +1300] [application:test] running
[2013-10-18 18:24:39 +1300] [application:test] got client
[2013-10-18 18:24:39 +1300] [application:test] preloading app
[2013-10-18 18:24:40 +1300] [application:test] forked 13425
[2013-10-18 18:24:40 +1300] [server] got worker pid 13425
[2013-10-18 18:24:40 +1300] [client] got pid: 13425
[2013-10-18 18:24:40 +1300] [application:test] 13425 exited with 0
[2013-10-18 18:24:40 +1300] [client] got exit status 0
19 tests, 60 assertions, 5 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -I"lib:test" -I"/Users/tim/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib" "/Users/tim/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb" "test/acceptance/app_test.rb" ]
Tasks: TOP => default => test:all => test:acceptance
(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