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

Add use cases for AbstractMockingComponentTestCase and simplify implementation

    XMLWordPrintable

Details

    • dev.xwiki.org/xwiki/bin/view/Community/Testing

    Description

      The main issue is that the creation of the mocked component instance is done in AMCTC while it should done in the test itself which makes it much simpler for the test to support various use cases and set up whatever it wants before the instance creation and this for any @Test method.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: