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

Counter tests should support wildcard/regex names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 1.0.0
    • None
    • None

    Description

      From Bertrand Dechoux via user mailing list.

      "The issue is that I might no know the name of the counters because they are dynamic. Even the group name is kind of dynamic because for warning counters, I use the class name and so it might change after refactoring."

      Currently it is difficult to test counters with dynamically generated names. Also, as Bertrand mentioned in the email, hardcoding names can make tests brittle and break after code refactoring.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dbeech Dave Beech
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: