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

Karl Wright commented on CONNECTORS-1060:
-----------------------------------------

Hi Maurizio,

I've created a branch (branches/CONNECTORS-1060) and included ant build code 
for obtaining the right war from your repository.

So there are two ways forward from here.  Either you can check out 
branches/CONNECTORS-1060 and use whatever magic you like to commit you test to 
that branch, and then do any further work in svn, OR you can keep working in 
github and send me a diff against branches/CONNECTORS-1060 when you are done 
making changes.  Please let me know.

FWIW, the standard naming for IT tests (so that the ant build can properly 
identify them) is as follows:

Package:
org.apache.manifoldcf.crawler.connectors.<connector_name>.tests

Test name:

xxx<database_name>IT - integration test
xxx<database_name>LT - load test

... where <database_name> is one of:

HSQLDB
Postgresql
MySQL

(Derby is now deprecated)

You get the right database by extending the correct testing class, such as 
org.apache.manifoldcf.crawler.tests.BaseITHSQLDB.  See 
org.apache.manifoldcf.crawler.connectors.alfresco.tests.BaseITHSQLDB to see how 
you register your connectors for the test.

Thanks!

> Write IT test for Alfresco webscript connector
> ----------------------------------------------
>
>                 Key: CONNECTORS-1060
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1060
>             Project: ManifoldCF
>          Issue Type: Task
>          Components: Alfresco webscript connector
>    Affects Versions: ManifoldCF 2.0
>            Reporter: Karl Wright
>            Assignee: Maurizio Pillitu
>             Fix For: ManifoldCF 2.0
>
>
> The only thing really needed for this work to begin is to include the indexer 
> 0.6.2 plugin in the Alfresco war that is built under test-materials.



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

Reply via email to