#55 open
Eloy Duran

Running the test suite on 1.9 HEAD

Reported by Eloy Duran | October 7th, 2009 @ 06:01 PM

The unit tests run after applying this patch: http://github.com/alloy/mocha/commit/16c1b359aba9180921424f7556c1a2...

The acceptance tests, and with it the performance tests, don't run. This is because minitest does not provide a shim for test/unit/testresult.

Comments and changes to this ticket

  • James Mead

    James Mead October 7th, 2009 @ 06:29 PM

    • Tag changed from ruby19 to acceptance, ruby19, testing

    This is correct. I did do some work on fixing this a while ago - I'll see if I can dig out the code.

    As a workaround, you should be able to run the tests on Ruby 1.9 by installing the test-unit gem.

    Let me know if this is not the case.

  • James Mead

    James Mead October 7th, 2009 @ 06:29 PM

    • State changed from “new” to “open”
  • James Mead

    James Mead October 8th, 2009 @ 09:38 AM

    Note to self: I just tried running unit tests on Ruby 1.9.1-p0 and they all pass even without the test-unit gem installed. I need to try this with a newer version of Ruby 1.9.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A mocking & stubbing library for Ruby.

* <a href="http://github.com/floehopper/mocha">GitHub repository</a>
* <a href="http://mocha.rubyforge.org">Documentation</a>
* <a href="http://groups.google.com/group/mocha-developer">Mailing List</a>

People watching this ticket

Pages