Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-465

Why is test-unit required?

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.8.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Hi,

      I am running test suite of BSON with minitest and Ruby 1.9.3. So when I did:

      sed -i "/gem 'test-unit'/ d" test/bson/test_helper.rb
      
      testrb -Ilib test/**/*_test.rb
      

      the test suite finished just fine:

      Finished tests in 0.317522s, 428.3172 tests/s, 982.6100 assertions/s.
      136 tests, 312 assertions, 0 failures, 0 errors, 0 skips
      

      Could you please enlighten me why are you using this hard dependency on unit-test when default Ruby's framework works just fine? This was introduced in https://github.com/mongodb/mongo-ruby-driver/commit/12e1af0c3dfcada167264faa113f2407a44f2091#test/bson/test_helper.rb

            Assignee:
            tyler@10gen.com Tyler Brock
            Reporter:
            vo.x Vít Ondruch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: