[ 
http://jira.nuxeo.org/browse/NXP-3994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59864#action_59864
 ] 

Florent Guillaume commented on NXP-3994:
----------------------------------------

To run tests with PostgreSQL, use:
mvn test -Dnuxeo.test.vcs.db=PostgreSQL
Additional system properties with their defaults:
  -Dnuxeo.test.vcs.server=localhost
  -Dnuxeo.test.vcs.port=5432
  -Dnuxeo.test.vcs.database=nuxeojunittests
  -Dnuxeo.test.vcs.user=nuxeo
  -Dnuxeo.test.vcs.password=nuxeo
The user has to be created beforehand, for instance with:
  CREATE USER nuxeo WITH PASSWORD 'nuxeo'
The database has to be created beforehand, for instance with:
  CREATE DATABASE nuxeojunittests OWNER nuxeo ENCODING = 'UTF8'
IMPORTANT NOTE: all the tables in the 'public' schema of the database will be 
dropped, including non-Nuxeo ones, at the beginning of the tests.


> Allow running of VCS unit tests with different backends
> -------------------------------------------------------
>
>                 Key: NXP-3994
>                 URL: http://jira.nuxeo.org/browse/NXP-3994
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Task
>          Components: Core SQL Storage
>    Affects Versions: 5.2 GA
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>            Priority: Major
>             Fix For: 5.2.1
>
>
> For continuous integration, we need to be able to run unit tests pointing to 
> a different backend than the integrated H2 one.
> Some system properties can be set to decide the backend and each backend's 
> properties.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to