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

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

To run tests with MySQL, use: 
mvn test -Dnuxeo.test.vcs.db=MySQL
Additional system properties with their defaults:
  -Dnuxeo.test.vcs.url=jdbc:mysql://localhost:3306/nuxeojunittests
  -Dnuxeo.test.vcs.user=nuxeo
  -Dnuxeo.test.vcs.password=nuxeo
The user has to be created beforehand, for instance with:
  CREATE USER 'nuxeo' IDENTIFIED BY 'nuxeo';
The database has to be created beforehand, for instance with:
  CREATE DATABASE `nuxeojunittests`
  GRANT ALL PRIVILEGES ON `nuxeojunittests`.* TO 'nuxeo'@'localhost' IDENTIFIED 
BY 'nuxeo'
IMPORTANT NOTE: all the tables in 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