Why is test-unit required?

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Minor - P4
    • 1.8.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Brock (Inactive)
            Reporter:
            Vít Ondruch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: