jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject Re: Unit testing of a custom SPI implementation
Date Wed, 28 May 2008 12:28:22 GMT
hi pierre

first of all:
up to now there is not test-suite that validates an SPI
implementation nor do we have tests that run on the SPI
directly (contributions would be welcome).

the jcr2spi test suite consists of

- all tests from jackrabbit-jcr-test
- additional test for the JCR API that are not covered by
   the tests in jackrabbit-jcr-test
- implementation specific test for jcr2spi covering areas
   where the JSR 170 leaves the details to the impl.

consequently, the SPI implementation is only indirectly
tested.

if you want to start testing your SPI implementation
specifically, would have to write your own tests (sorry).

if you want to rely on the jcr-test (indirect SPI test):
the tests in jackrabbit-jcr-test have a javadoc comment
indicating the compliance level: @keywords.
@keywords level1 covers read-only tests as far as i know.

hope that helps
angela


Mime
View raw message