Yesterday I started to work on end-to-end integration test for the CMIS Connector and now I have a full running OpenCMIS test server integrated with the ManifoldCF Maven build process.
Now I have to implement: - a setup method to create the test documents in the CMIS server - a null output connector using the ManifoldCF api - tests using the ManifoldCF api to create a mock configuration against the test CMIS server I'll let you know when it works. Regards, Piergiorgio 2011/7/29 Piergiorgio Lucidi <[email protected]> > Hi Karl, > > thank you for the details and as soon as I finish a first version of > integration and/or unit test I will create a new ticket in the CMIS > Component to release the patch. > > I hope to release this new patch soon. > I'll let you know during the next week. > > Piergiorgio > > > 2011/7/28 Karl Wright <[email protected]> > >> 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 >> > >> > > > > -- > Piergiorgio Lucidi > Web: http://about.me/piergiorgiolucidi > > -- Piergiorgio Lucidi Web: http://about.me/piergiorgiolucidi
