You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2016/03/18 17:47:33 UTC

[jira] [Commented] (TIKA-1855) TIka 2.0 - Move shared test-code back to tika-core and distribute test files to parser modules

    [ https://issues.apache.org/jira/browse/TIKA-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15201769#comment-15201769 ] 

Tim Allison commented on TIKA-1855:
-----------------------------------

How about this proposal:

1. We continue to keep people from adding 100MB files to "test-documents" and as data for parsers. :)
2. We leave tika-test-resources as is and pile all test documents into test-documents (perhaps with subdirectories in a follow on ticket)...tika-core's tests could then depend on that.
3. We rename tika-parsers to tika-parser-integration-tests, and we keep that as an integration test module for AutoDetect, etc.
4. We move the only remaining actual class in "tika-parsers" to tika-core so nothing except tests are left there.
5. All modules that need a file in "test-documents" will depend on the tika-test-resources jar and pull directly from there with spooling to a temp file if absolutely necessary.

I like the simplicity of Nick's suggestion, but I'd like users who want to use tika-core's test classes (e.g. MockParser) to be able to without bringing in the whole kitchen sink of "test-documents".

How does this sound?


> TIka 2.0 - Move shared test-code back to tika-core and distribute test files to parser modules
> ----------------------------------------------------------------------------------------------
>
>                 Key: TIKA-1855
>                 URL: https://issues.apache.org/jira/browse/TIKA-1855
>             Project: Tika
>          Issue Type: Sub-task
>            Reporter: Tim Allison
>            Assignee: Tim Allison
>
> Undo TIKA-1851, and divide test docs to appropriate parser modules.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)