Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1863

Add ability to specify excludes when using the @AllComponents annotation

    XMLWordPrintable

    Details

    • Difficulty:
      Unknown
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      It's useful when wanting to introduce mock components while still using the @AllComponents annotation. Otherwise you'll get an error that the component is already registered.

      Note that raising this error is a behavior we should keep since it's a good one by default as it may indicate a problem in the test.

        Attachments

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: