maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1210) Load test-classes and test dependencies into isolated loader
Date Tue, 22 Dec 2015 11:39:46 GMT

    [ https://issues.apache.org/jira/browse/SUREFIRE-1210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15067987#comment-15067987
] 

Tibor Digana commented on SUREFIRE-1210:
----------------------------------------

The Version 2.19.1 will be in Maven central in a week. I was ill so unable to work on Surefire.

> Load test-classes and test dependencies into isolated loader
> ------------------------------------------------------------
>
>                 Key: SUREFIRE-1210
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1210
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.18.1
>            Reporter: mike duigou
>
> Currently both the artifact and it's tests are loaded in to the same classloader. The
test-classes and test dependencies are also placed ahead of the artifact classes in the search
path. This can cause problems if the test classes contains mocks classes with the same name
as artifact classes that aren't intended for use by all tests.
> The test classes and test dependencies should be placed in their own classloader, a child
of whichever classloader is being used for the artifact and run dependencies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message