manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1509) The failsafe and surefire test configuration needs to be improved to properly include all the required test cases
Date Fri, 15 Jun 2018 15:02:00 GMT

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

Karl Wright commented on CONNECTORS-1509:
-----------------------------------------

All tests that require Postgresql *should* be excluded unless a specific target is executed
that implies Postgresql tests are requested.  This is by design.  The maven build is *not*
full-featured; you want to use the ant build to exercise the entire suite of tests in their
proper manner.


> The failsafe and surefire test configuration needs to be improved to properly include
all the required test cases
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-1509
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1509
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: CMIS Output Connector
>    Affects Versions: ManifoldCF 2.10
>            Reporter: Irindu Nugawela
>            Priority: Minor
>              Labels: CMIS, outputconnector, testsuite
>
> The current surefire plugin configuration has the following configurations 
> <excludes>
> <exclude>**/*Postgresql*.java</exclude>
> <exclude>**/*MySQL*.java</exclude>
> </excludes>
> this will exclude  *SanityPostgresqlTest* which is a unit test from being executed
which is questionable behaviour and <exclude>**/*MySQL*.java</exclude> serves
no purpose since there are no any test classes matching the pattern
> Also I suggest adding the following pattern to exclude integration tests 
> <exclude>**/*IT.java</exclude> which seems to be our convention for naming
integration tests.
> The current failsafe plugin configuration also share the above configurations which
is 
> <excludes>
> <exclude>**/*Postgresql*.java</exclude>
> <exclude>**/*MySQL*.java</exclude>
> </excludes>
> which seems of no purpose to me there are no any cases matching the above configuration
and matching the default configuration which is 
> <includes>
> <include>**/IT*.java</include>
> <include>**/*IT.java</include>
> <include>**/*ITCase.java</include>
> </includes>
> Also *NavigationHSQLDBUI* test does not seem to be executed with the maven build process



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message