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

Avoid using test classes in main classes

    XMLWordPrintable

    Details

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

      Description

      This is a bit fishy but Maven supports it so we used it

      Unfortunately it's officially not the case anymore in Eclipse 4.8+ (it was not exactly the case before either, it's just that there was no clean separation between test and main classes in Eclipse before) so we should ideally clean this up a bit.

      On example is xwiki-platform-test-page which manipulate stuff like MockitoOldcore and StubVelocityManager.

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: