Hi guys,
following up the discussion of Dave and Florent, I took some initiatives into starting practical contribution of the Alfresco (AtomPub first) test harness into Chemistry.

I refactored and reassigned to me all the Jira issues related to this topic, basically creating subtasks to [1] and created the Alfresco hosted SVN folder [2] where I'll start refactoring the test harness into a contributable module. It's still empty but I plan to start work on it by tomorrow already.

In general, the bigger picture that I would like to share with you, is that the TCK is the base for having CMIS compatibility tests run directly in the Maven build.

As I'm pretty much into Maven and I think it's in everyone's best interest to make Chemistry a fully fledged TCK, I described a bit what I think we should do, using Maven Surefire [3] and Maven Reports [4] to easily maintain and publish compatibility test report run against all the different CMIS implementors.

I'll start working on the Maven part as soon as the TCK is properly decoupled from Alfresco and added to Chemistry, but I'd really appreciate some comments, suggestions or contributions on how to have a nice TCK functional in our project ;)

Thanks in advance!
Gab


[1] https://issues.apache.org/jira/browse/CMIS-25
[2] https://svn.alfresco.com/repos/contrib/chemistry-tck-atompub/
[3] https://issues.apache.org/jira/browse/CMIS-38
[4] https://issues.apache.org/jira/browse/CMIS-39

On Jul 7, 2009, at 12:05 PM, David Caruana wrote:

Ok, option a) it is. I'll focus on the atom test client first, removing Alfresco specifics and moulding it for Chemistry.

https://issues.apache.org/jira/browse/CMIS-25

Regards,
Dave


On 6 Jul 2009, at 18:48, Florent Guillaume wrote:

Hi David,

An extensive test suite is very welcome, thanks!

I would go for option a), and refactor later if and when we feel tests can benefit from the Chemistry API. However there's real value in using something totally external to Chemistry to test it, as we may miss things otherwise. So a) is really not a problem for a start.

Regarding the location, I propose to create a chemistry-tck maven module to hold the tests.

And yes JIRA is best to track tasks. I haven't always used it for the early Chemistry work when everything was still moved around a lot, but I'll do it in the future.

Bye,
Florent


On 6 Jul 2009, at 15:57, David Caruana wrote:

Dear all,

I'd like to contribute the Alfresco CMIS client test harness to Chemistry. It consists of many tests that cover many aspects of the specification. I think this would be of value to the wider CMIS community as a starting point for not only testing Chemistry but any CMIS provider thus promoting compatibility between providers. On a personal note, I'd like to ensure Alfresco is tested with a suite that's community tested.

Currently, I have two harnesses, one testing AtomPub directly and the other testing Web Services directly.

Having studied the current Chemistry code base there are implementation options for the test harnesses.

a) Contribute as is (first removing Alfresco specifics). This allows the full test harness to be used immediately against any provider, but doesn't use the Chemistry stack i.e. the chemistry- api. It also consists of an Abdera extension but that can easily be merged with the one already there (I understand the Abdera concerns that have been raised).

b) Refactor the tests to use chemistry-api consolidating on one test harness. But, relies on the AtomPub client and Web Service client implementations meaning tests are disabled while those implementations are filled out. I have questions re: chemistry-api which I'll post separately.

Of course, a) can be a starting point, and refactoring to b) could take place in Chemistry.

The tests are implemented as a series of JUnit test cases. However, that doesn't preclude custom UI for executing and reporting the results, thus allowing for some form of CMIS provider test kit.

Let me know of interest, and if there is a preference for a) or b). I'm assuming a new module for housing this (as chemistry-tests seems focused on testing low-level aspects of Chemistry).

Re: mechanics of Chemistry project. How should we track in- development / future tasks? I assume via JIRA.

Regards,
David Caruana


--
Florent Guillaume, Head of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87



--

Eng. Gabriele Columbro
Alfresco Software, Ltd.

M: +31 (0)627 565 103
P: +39 320 161 28 46
D: +44 (0)1628 876 654
Skype: gabrielecolumbro
Blog: http://www.mindthegab.com



Reply via email to