[jira] [Commented] (SUREFIRE-2218) Add support for fetching test classes from a jar

2023-12-01 Thread Sebb (Jira)


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

Sebb commented on SUREFIRE-2218:


That would be fine as a name.

 

BTW, the documentation is a bit ambiguous as to what 'test classpath' means.

AFAICT it is only used for the classes under test, but the description for 
{{testClassesDirectory}} suggests otherwise.

> Add support for fetching test classes from a jar
> 
>
> Key: SUREFIRE-2218
> URL: https://issues.apache.org/jira/browse/SUREFIRE-2218
> Project: Maven Surefire
>  Issue Type: New Feature
>Reporter: Sebb
>Priority: Minor
>
> Surefire provides a way to test classes that are in a jar.
> The parameter additionalClasspathElements can used to specify the jar (and 
> the 
> classesDirectory parameter can be redirected to prevent access to the default 
> classes)
>  
> It would be useful to be able to do the same for the test classes, i.e. 
> provide a parameter that can be used to update the classpath used to find 
> tests



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (SUREFIRE-2218) Add support for fetching test classes from a jar

2023-12-01 Thread Michael Osipov (Jira)


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

Michael Osipov commented on SUREFIRE-2218:
--

You mean {{additionalTestClasspathElements}}?

> Add support for fetching test classes from a jar
> 
>
> Key: SUREFIRE-2218
> URL: https://issues.apache.org/jira/browse/SUREFIRE-2218
> Project: Maven Surefire
>  Issue Type: New Feature
>Reporter: Sebb
>Priority: Minor
>
> Surefire provides a way to test classes that are in a jar.
> The parameter additionalClasspathElements can used to specify the jar (and 
> the 
> classesDirectory parameter can be redirected to prevent access to the default 
> classes)
>  
> It would be useful to be able to do the same for the test classes, i.e. 
> provide a parameter that can be used to update the classpath used to find 
> tests



--
This message was sent by Atlassian Jira
(v8.20.10#820010)