You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Justin Edelson <ju...@gmail.com> on 2010/03/03 17:22:48 UTC

jcr2davex tests

I'm working on integrating DavEx with Sling (SLING-1393) and was
wondering if there was an existing test suite that would validate that
the servlet is configured properly. I currently have a very minimal test
which creates a node via the Sling POST servlet and then reads that node
with the JCR API (via DavEx).

Also... Felix had originally suggested that this module should live
within the Jackrabbit project. As things currently stand (and I'd like
to test more fully to ensure this is the case), there's no dependency
upon Sling - all you need is an OSGi HttpService and the Felix
HttpService Whiteboard (which will work with any HttpService
implementation).

Thoughts?

Justin

Re: jcr2davex tests

Posted by Angela Schreiber <an...@day.com>.
Justin Edelson wrote:
> I'll wait a few days :)

see issue JCR-2544.
with *that* list of known issues i managed to run the
conformance test.

JCR-2037 is still open and i would like the latter to
no only run the TCK tests but also all SPI level tests
(few) and the tests defined in jcr2spi (some).

jukka, is there any chance to run the conformance test
in jcr2dav on a regular bases (hudson)? i think that
would be very helpful.

hope that helps
angela 	

> Thanks,
> Justin
> 
> On 3/3/10 12:42 PM, Angela Schreiber wrote:
>> Justin Edelson wrote:
>>> Hi Angela,
>>> Since DavEx supports a subset of the full JCR spec, it seemed like
>>> running JCRTestSuite wasn't going to work. But Jcr2SpiTestSuite seems
>>> like it might work.
>> not really... jcr2spi tests just cover things that are either
>> specific to that implementation or missing in the tck.
>>
>> either you just pick some tests that pass or wait a couple
>> of days until i have the known-issues list completed... then
>> you should - from my point of view - be able to run the integration
>> test in jcr2dav.

Re: jcr2davex tests

Posted by Justin Edelson <ju...@gmail.com>.
I'll wait a few days :)

Thanks,
Justin

On 3/3/10 12:42 PM, Angela Schreiber wrote:
> Justin Edelson wrote:
>> Hi Angela,
>> Since DavEx supports a subset of the full JCR spec, it seemed like
>> running JCRTestSuite wasn't going to work. But Jcr2SpiTestSuite seems
>> like it might work.
> 
> not really... jcr2spi tests just cover things that are either
> specific to that implementation or missing in the tck.
> 
> either you just pick some tests that pass or wait a couple
> of days until i have the known-issues list completed... then
> you should - from my point of view - be able to run the integration
> test in jcr2dav.
> 
> regards
> angela
> 
>> Thanks,
>> Justin
>>
>> On 3/3/10 11:50 AM, Angela Schreiber wrote:
>>> Justin Edelson wrote:
>>>> I'm working on integrating DavEx with Sling (SLING-1393) and was
>>>> wondering if there was an existing test suite that would validate that
>>>> the servlet is configured properly. I currently have a very minimal
>>>> test
>>>> which creates a node via the Sling POST servlet and then reads that
>>>> node
>>>> with the JCR API (via DavEx).
>>> do you mean something different that the jcr-test and the jcr2spi tests?
>>> the first one would be covered by
>>> org.apache.jackrabbit.test.JCRTestSuite
>>>
>>> the latter by
>>> org.apache.jackrabbit.jcr2spi.Jcr2SpiTestSuite
>>>
>>> there is also a limited amount of tests that directly operation on the
>>> SPI level and some specific tests for spi2davex:
>>>
>>> org.apache.jackrabbit.spi2davex.TestAll
>>>
>>> i'm currently trying to gather a complete list of known issues
>>> with respect to the jcr-tests used in the ConformanceTest in jcr2dav,
>>> that would us allow to run the integration tests on a regular,
>>> automated basis in order to detect problems as early as possible.
>>>
>>> hope that helps
>>> angela
>>>
>>>
>>
>>
> 


Re: jcr2davex tests

Posted by Angela Schreiber <an...@day.com>.
Justin Edelson wrote:
> Hi Angela,
> Since DavEx supports a subset of the full JCR spec, it seemed like
> running JCRTestSuite wasn't going to work. But Jcr2SpiTestSuite seems
> like it might work.

not really... jcr2spi tests just cover things that are either
specific to that implementation or missing in the tck.

either you just pick some tests that pass or wait a couple
of days until i have the known-issues list completed... then
you should - from my point of view - be able to run the integration
test in jcr2dav.

regards
angela

> Thanks,
> Justin
> 
> On 3/3/10 11:50 AM, Angela Schreiber wrote:
>> Justin Edelson wrote:
>>> I'm working on integrating DavEx with Sling (SLING-1393) and was
>>> wondering if there was an existing test suite that would validate that
>>> the servlet is configured properly. I currently have a very minimal test
>>> which creates a node via the Sling POST servlet and then reads that node
>>> with the JCR API (via DavEx).
>> do you mean something different that the jcr-test and the jcr2spi tests?
>> the first one would be covered by
>> org.apache.jackrabbit.test.JCRTestSuite
>>
>> the latter by
>> org.apache.jackrabbit.jcr2spi.Jcr2SpiTestSuite
>>
>> there is also a limited amount of tests that directly operation on the
>> SPI level and some specific tests for spi2davex:
>>
>> org.apache.jackrabbit.spi2davex.TestAll
>>
>> i'm currently trying to gather a complete list of known issues
>> with respect to the jcr-tests used in the ConformanceTest in jcr2dav,
>> that would us allow to run the integration tests on a regular,
>> automated basis in order to detect problems as early as possible.
>>
>> hope that helps
>> angela
>>
>>
> 
> 


Re: jcr2davex tests

Posted by Justin Edelson <ju...@gmail.com>.
Hi Angela,
Since DavEx supports a subset of the full JCR spec, it seemed like
running JCRTestSuite wasn't going to work. But Jcr2SpiTestSuite seems
like it might work.

Thanks,
Justin

On 3/3/10 11:50 AM, Angela Schreiber wrote:
> Justin Edelson wrote:
>> I'm working on integrating DavEx with Sling (SLING-1393) and was
>> wondering if there was an existing test suite that would validate that
>> the servlet is configured properly. I currently have a very minimal test
>> which creates a node via the Sling POST servlet and then reads that node
>> with the JCR API (via DavEx).
> 
> do you mean something different that the jcr-test and the jcr2spi tests?
> the first one would be covered by
> org.apache.jackrabbit.test.JCRTestSuite
> 
> the latter by
> org.apache.jackrabbit.jcr2spi.Jcr2SpiTestSuite
> 
> there is also a limited amount of tests that directly operation on the
> SPI level and some specific tests for spi2davex:
> 
> org.apache.jackrabbit.spi2davex.TestAll
> 
> i'm currently trying to gather a complete list of known issues
> with respect to the jcr-tests used in the ConformanceTest in jcr2dav,
> that would us allow to run the integration tests on a regular,
> automated basis in order to detect problems as early as possible.
> 
> hope that helps
> angela
> 
> 


Re: jcr2davex tests

Posted by Angela Schreiber <an...@day.com>.
Justin Edelson wrote:
> I'm working on integrating DavEx with Sling (SLING-1393) and was
> wondering if there was an existing test suite that would validate that
> the servlet is configured properly. I currently have a very minimal test
> which creates a node via the Sling POST servlet and then reads that node
> with the JCR API (via DavEx).

do you mean something different that the jcr-test and the jcr2spi tests?
the first one would be covered by
org.apache.jackrabbit.test.JCRTestSuite

the latter by
org.apache.jackrabbit.jcr2spi.Jcr2SpiTestSuite

there is also a limited amount of tests that directly operation on the
SPI level and some specific tests for spi2davex:

org.apache.jackrabbit.spi2davex.TestAll

i'm currently trying to gather a complete list of known issues
with respect to the jcr-tests used in the ConformanceTest in jcr2dav,
that would us allow to run the integration tests on a regular,
automated basis in order to detect problems as early as possible.

hope that helps
angela