The tests/filesystem/src/test/java area are end-to-end tests
principally designed to test the filesystem connector.  (They also
involve other connectors because, obviously, an end-to-end test is not
going going to work without them.  This is why they are at the root
level.)

There are also unit tests you can use as models under
connectors/filesystem/connector/src/test/....  These tests use only
the filesystem connector, no others.

If you would be so kind as to create a ticket to cover your test work,
that would be great.

Also, another workitem I've been meaning to get to but haven't
involves the conversion of a python-based HTML browser and Javascript
engine I wrote for MetaCarta into a Java equivalent.  This would allow
direct testing of the UI components of the framework and connectors.
The python sources are in:

legacy-tests/VirtualBrowser.py
and
legacy-tests/Javascript.py

You may not have time to get that far for a while, but I thought you'd
want to know where my thoughts were headed. ;-)

Karl

On Thu, Jul 28, 2011 at 2:03 PM, Piergiorgio Lucidi
<[email protected]> wrote:
> I'm starting to think a way to implement tests for the CMIS Connector,
> probably I can use the Apache Chemistry (OpenCMIS) local binding to create a
> mock of a CMIS Server (an InMemory repository), but I have to check this
> possibility because I'm not sure that all the features are now implemented.
>
> Anyway I saw some test classes for the filesystem connector at the following
> package:
>
> tests/filesystem/src/test/java
>
> Could you please confirm that these classes could be taken as an example for
> tests?
> Or do I need to take a look at other classes?
>
> Thank you.
> Piergiorgio
>
> --
> Piergiorgio Lucidi
> Web: http://about.me/piergiorgiolucidi
>

Reply via email to