Details

    • Type: Task
    • Status: Closed
    • Priority: 2 Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.6, 2.1.1, 2.2
    • Component/s: Build
    • Labels:
      None
    • Terracotta Target:
      Vicente
    • Fixed In Revision:
      1698

      Description

      This has been discussed in dev list:
      http://lists.terracotta.org/pipermail/quartz-dev/2011-July/000035.html

      So I will create a task to track it.

      1) Upgrade junit to version 4.8.2 in project pom.xml
      JUnit4 supports annotation and simplify unit testing.
      I think junit4 is backward compatible, so existing tests should still able to run without harm.

      2) Add hamcrest as test library to project pom.xml.
      This allow a simple and uniform "assertThat(expected, Matchers.xxx(actual))" through all unit tests.

      sample:
      <dependency>
      <groupId>org.hamcrest</groupId>
      <artifactId>hamcrest-library</artifactId>
      <version>1.2</version>
      <scope>test</scope>
      </dependency>
      <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.8.2</version>
      <scope>test</scope>
      </dependency>

        Attachments

          Activity

            People

            • Assignee:
              light5 Zemian Deng
              Reporter:
              light5 Zemian Deng
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: