Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jeffreyameyer
Created October 22, 2012 02:44
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 jeffreyameyer/3929354 to your computer and use it in GitHub Desktop.
Save jeffreyameyer/3929354 to your computer and use it in GitHub Desktop.
OSM Rails Port rake test output
$ rake test
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_test_loader
Started
.................................................................................................................................................................................................Entity: line 1: parser error : Attribute lat redefined
<osm><node id='123' lon='23.23' lat='23.1' lat='12' changeset='23' version='23'
^
Entity: line 1: parser error : Attribute lat redefined
<osm><node id='123' lon='23.23' lat='23.1' lat='12' changeset='23' version='23'
^
....................................................................................................................................
Finished in 53.454388 seconds.
325 tests, 212790 assertions, 0 failures, 0 errors
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_test_loader
Started
..................................F.F.F.............................................................................................................................................................................................................................................
Finished in -80554111.48078 seconds.
1) Failure:
test_changes_simple(ApiControllerTest) [test/functional/api_controller_test.rb:236]:
Expected response to be a <:success>, but was <500>.
2) Failure:
test_changes_zoom_valid(ApiControllerTest)
[test/functional/api_controller_test.rb:260:in `test_changes_zoom_valid'
test/functional/api_controller_test.rb:258:in `upto'
test/functional/api_controller_test.rb:258:in `test_changes_zoom_valid']:
Expected response to be a <:success>, but was <500>.
3) Failure:
test_hours_valid(ApiControllerTest)
[test/functional/api_controller_test.rb:289:in `test_hours_valid'
test/functional/api_controller_test.rb:287:in `upto'
test/functional/api_controller_test.rb:287:in `test_hours_valid']:
Expected response to be a <:success>, but was <500>.
276 tests, 3409 assertions, 3 failures, 0 errors
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_test_loader
Started
........................................
Finished in 57.851417 seconds.
40 tests, 3048 assertions, 0 failures, 0 errors
Errors running test:functionals! #<RuntimeError: Command failed with status (1): [/usr/bin/ruby1.8 -I"lib:test" -I"/usr/lib/...]>
@jeffreyameyer
Copy link
Author

$ ruby test/functional/relation_controller_test.rb
Loaded suite test/functional/relation_controller_test
Started
.................FF
Finished in 4.119792 seconds.

  1. Failure:
    test_update_relation_tags(RelationControllerTest)
    [test/functional/relation_controller_test.rb:933:in assert_tags_equal' test/functional/relation_controller_test.rb:328:intest_update_relation_tags'
    test/functional/relation_controller_test.rb:878:in with_update' test/functional/relation_controller_test.rb:327:intest_update_relation_tags'
    test/functional/relation_controller_test.rb:859:in with_relation' test/functional/relation_controller_test.rb:320:intest_update_relation_tags']:
    Tag keys should be identical.
    <["tag1", "tag2", "tag3", "tag4"]> expected but was
    <["tag4", "tag3", "tag2", "tag1"]>.

  2. Failure:
    test_update_relation_tags_via_upload(RelationControllerTest)
    [test/functional/relation_controller_test.rb:933:in assert_tags_equal' test/functional/relation_controller_test.rb:357:intest_update_relation_tags_via_upload'
    test/functional/relation_controller_test.rb:911:in with_update_diff' test/functional/relation_controller_test.rb:356:intest_update_relation_tags_via_upload'
    test/functional/relation_controller_test.rb:859:in with_relation' test/functional/relation_controller_test.rb:349:intest_update_relation_tags_via_upload']:
    Tag keys should be identical.
    <["tag1", "tag2", "tag3", "tag4"]> expected but was
    <["tag4", "tag3", "tag2", "tag1"]>.

19 tests, 258 assertions, 2 failures, 0 errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment