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

Jukka Zitting commented on OAK-434:
-----------------------------------

+1 to doing this for integration tests, -1 for unit tests.

Our unit tests should be as simple as possible and focus on just the specific 
feature being tested. Trying to reuse them for testing other parts of the stack 
just complicates things with no specific benefit.

Also, instead of a having to explicitly specify a build profile, it would be 
nice if the build automatically ran the integration tests also against MongoDB 
whenever a local test database is available.
                
> Setup build profiles to run against either of the Microkernel implementations 
> ------------------------------------------------------------------------------
>
>                 Key: OAK-434
>                 URL: https://issues.apache.org/jira/browse/OAK-434
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>            Reporter: Michael Dürig
>
> We should change our build setup such that all tests of the upper layers 
> (oak-core, oak-jcr) can be run against either of the Microkernels. AFAIK 
> currently they are always run against the default Microkernel and not against 
> the MongoDB based Microkernel. Even though when the building with the mongomk 
> profile. 
> Also the integration testing profile should be changed such, that it runs all 
> against all Microkernel implementations. We need to figure out how we can do 
> that with the MongoDB based Microkernel since due to licensing issues I think 
> we can't just embed MongoDB.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to