Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31561

Test namespaces should be loaded as autoload-dev

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2.5.9, 3.0.1
    • Composer, Test framework
    • None

    Description

      Our test namespaces, especially in ezplatform-kernel, are loaded using autoload instead of autoload-dev which makes them being loaded also when a given package is installed as a dependency. In most cases this is not needed and clutters Composer autoloader. Tests are meant to be executed only when installed as a root package (with exception of some shared test setups - which should be reduced to a minimum).

      Moreover it probably affects the size of tarballs generated during a release process by including not needed files.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrew.longosz@ibexa.co Andrew Longosz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: