Uploaded image for project: 'RS Libs'
  1. RS Libs
  2. RSLIBS-4

Add annotation for ignoring elements in tests

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: baselib
    • Labels:
      None

      Description

      Add support so that unit tests can recognize annotated elements to be ignored while testing. This is useful when you want to unit-test objects and classes for specific structures but these objects/classes define additional elements that would cause the test to fail although they are not relevant for a unit test.

      E.g. a unit test was written to test all getters/setters in an object. However, there are setters that are intentionally defined different. The annotation could inform the unit-test that these methods intentionally do not fulfill the requirement and hence shall not be considered in that unit test.

        Attachments

          Activity

            People

            • Assignee:
              ralph Ralph Schuster
              Reporter:
              ralph Ralph Schuster
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: