Lewis John McGibbney created NUTCH-3154:
-------------------------------------------

             Summary: Implement integration testing framework for Nutch 
IndexWriter plugins using Testcontainers
                 Key: NUTCH-3154
                 URL: https://issues.apache.org/jira/browse/NUTCH-3154
             Project: Nutch
          Issue Type: Bug
          Components: indexer, test
            Reporter: Lewis John McGibbney
             Fix For: 1.23


I recently came across NUTCH-3003 which reminded me of a stale thought I had 
regarding integration testing for the indexer plugins using 
[https://java.testcontainers.org/. |https://java.testcontainers.org/]

Such an initiative would deliver a comprehensive integration testing framework 
for Nutch indexer plugins (implementations of IndexWriter interface) using 
Testcontainers. This would enable real-world testing against actual 
database/search engine containers rather than mocking... or nothing which is 
what we currently have.

*Scope*
 * Add Testcontainers support to Ant build system
 * Configure integration test targets separate from unit tests
 * Enable inegration testing for individual and all indexer plugins 
(elasticsearch, kafka, rabbitmq, solr, opensearch, etc.)
 * Ensure CI/CD compatibility with GitHub Actions

This ticket will encourage any discussion around this issue. Thanks in advance.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to