manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <>
Subject Re: Writing Tests For an Output Connector
Date Fri, 04 May 2018 12:55:44 GMT
Hi Irindu,

(1) The base classes for the tests begin with "Base".
(2) Integration tests include "IT" at the end
(3) The database that is used comes right before the "IT", and there are
several you could write, e.g.: HSQLDB, PostgreSQL, Mysql.

When you use the ant run-IT-HSQLDB, for instance, it runs all tests named

For the connector projects you are working on, you probably need just
HSQLDB tests.  This is because you're really not exercising any
database-specific functionality.


On Fri, May 4, 2018 at 8:45 AM Irindu Nugawela <> wrote:

> Hi devs,
> I was examining the tests written for output connectors ElasticSearch and
> CMIS. I noticed  the test classes for CMIS were
> BasePostgresql
> NavigationHSQLDBUI
> in addition to these Elastic Search had two more test classes
> SanityHSQLDBTest
> SanityPostgresqlTest
> Please help me understand the naming convention of these connectors and
> which of these fall under unit tests and what are the classes falling under
> integration tests.
> I am supposed to write unit tests for the MongoDB Output Connector, what
> are the general guidelines for writing unit tests? is there a reference for
> writing tests? which of the above-mentioned test classes are relevant for
> MongoDB connector. Please help me with my questions. Thanks in advance.
> --
> Thanks and Regards,
> Irindu Nugawela,
> Computer Engineering <> Undergraduate,
> Faculty of Engineering University of Peradeniya

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message