Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Incorporated
    • Affects Version/s: None
    • Fix Version/s: 2.8.x
    • Component/s: Kernel
    • Labels:
      None
    • Previous Issue Keys:
      SAK-17126, KNL-286

      Description

      The current version of jUnit in Sakai is 3.8.1. Please upgrade to 4.7

      This brings valuable readable methods with it, like assertThat():

      e.g.

      assertThat(0, is(1)); // fails:
      // failure message:
      // expected: is <1>
      // got value: <0>
      assertThat(0, is(not(1))) // passes

      assertThat("Help! Integers don't work", 0, is(1)); // fails:
      // failure message:
      // Help! Integers don't work
      // expected: is <1>
      // got value: <0>
      assertThat("Zero is one", 0, is(not(1))) // passes

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  steve.swinsburg Steve Swinsburg
                  Reporter:
                  steve.swinsburg Steve Swinsburg
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code