Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 09/Jul/13 9:34 AM
Description:

MGNLIMG-100 introduced a test that accidentally wrote test images in src/test/resources. Those images have been accidentally committed to the Git repository.
A lot of tests have (since forever) written images in the root folder of the project, which isn't great either.
We could configure the project as such

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <systemPropertyVariables>
            <imagesOutputDir>${project.build.directory}/test-images</imagesOutputDir>
          </systemPropertyVariables>
        </configuration>
      </plugin>

Tests should ensure this property is set and fail early if it isn't. Tests should ensure they don't overwrite the output of another test. A utility method could be provided to return this directory to a test class/method, suffixed with the test name, for example.

Fix Versions: 3.0.x
Project: Magnolia Imaging Module
Priority: Neutral Neutral
Reporter: Grégory Joseph
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to