Re: Unit test for database Put processor

2018-04-16 Thread Mike Thomsen
Anthony, Sorry, forgot to answer your last question. The best thing you can do, especially since MarkLogic doesn't have a convenient Docker image published, is to do both unit and integration tests. A test starting or ending with Test is a unit test and one ending with IT is an integration test

Re: Unit test for database Put processor

2018-04-16 Thread Mike Thomsen
The PutMongo tests fail because the Mongo processors haven't been fully migrated to the new method of declaring EL support. With that said, the Mongo tests aren't almost entirely integration tests, not unit tests because Mongo is kinda painful to mock. On Mon, Apr 16, 2018 at 5:50 PM Anthony

Unit test for database Put processor

2018-04-16 Thread Anthony Roach
We are writing a PutMarkLogic processor to ingest flowfiles into a MarkLogic database. Looking at the PutMongo test, it appears that a running instance of MongoDB is expected. Attempting to run with one ends in failure. Can we make the same assumption for tests we include into the suite?