Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-150

Upgrade to JMock 2.5.1

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.2
    • 1.4
    • Test frameworks
    • None

    Description

      As sent on the buildr-user and buildr-dev mailing lists:
      http://mail-archives.apache.org/mod_mbox/incubator-buildr-dev/200805.mbox/%3C5582dd3b0805240830l2457cbdcj52d6efc37f1ec74c@mail.gmail.com%3E

      While looking into Scala testing, I noticed we're still using JMock 1 (1.2.0) as default. Would anybody oppose upgrading to JMock 2 (2.4.0) by default? [Ed. note: JMock 2.5.1 as of September 22nd, 2008]

      JMock 2 features additional and cleaner APIs, but isn't 100% backward compatible with JMock 1. It also requires Java 1.5+.

      The main reason I'm asking is because ScalaTest and Scala Specs rely on JMock 2. We could override the defaults for Scala projects but I figured it would be better to have consistent defaults between Java/Scala.

      Attachments

        1. BUILDR-150.txt
          3 kB
          Antoine Toulme

        Activity

          People

            boisvert Alex Boisvert
            boisvert Alex Boisvert
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: