Uploaded image for project: 'MRUnit'
  1. MRUnit
  2. MRUNIT-68

Support custom counter checking

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.1
    • 0.9.0
    • None

    Description

      It would be great if user could check custom counter values in addition to checking outputs. Let me show my idea on example, right now counters needs to be checked explicitly:

      assertEquals(2, mapDriver.getCounters().findCounter(CustomMapper.CustomCounter.NAME).getValue());

      It would be great if user could do something like:

      .withCounter(CustomMapper.CustomCounter.Name, 2)

      Attachments

        1. MRUNIT-68.patch
          38 kB
          Jarek Jarcec Cecho
        2. MRUNIT-68.patch
          40 kB
          Jarek Jarcec Cecho
        3. MRUNIT-68.patch
          38 kB
          Jarek Jarcec Cecho
        4. MRUNIT-68.patch
          17 kB
          Jarek Jarcec Cecho

        Activity

          People

            jarcec Jarek Jarcec Cecho
            jarcec Jarek Jarcec Cecho
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: