You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Keith R. Bennett (JIRA)" <ji...@apache.org> on 2007/10/09 22:27:50 UTC

[jira] Created: (TIKA-50) Unit tests are incomplete.

Unit tests are incomplete.
--------------------------

                 Key: TIKA-50
                 URL: https://issues.apache.org/jira/browse/TIKA-50
             Project: Tika
          Issue Type: Improvement
          Components: general
    Affects Versions: 0.1-incubator
            Reporter: Keith R. Bennett
             Fix For: 0.1-incubator


The unit tests are still pretty skeletal.  It would be good if we added tests for any new features that were added.  This would:

* verify that these features are working correctly
* illustrate usage for ourselves and others (until we can provide documentation) -- this would be especially helpful now that the architecture is changing and to my knowledge we have no other usage example documentation.
* indicate with greater certainty that if a test were missing, the feature is missing or not yet working

  From what I can tell, here are some tests that could be added (please add more if you know of any):

* Getting the mime type from the stream (this is working now, right?)
* Getting metadata (e.g. "title") from more document types
* Multiple metadata values for a single metadata name


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TIKA-50) Unit tests are incomplete.

Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TIKA-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603112#action_12603112 ] 

Chris A. Mattmann commented on TIKA-50:
---------------------------------------

This issue was reported in October 2007. I think we've come a long way on unit tests since then. Would you say that this issue is still applicable?

> Unit tests are incomplete.
> --------------------------
>
>                 Key: TIKA-50
>                 URL: https://issues.apache.org/jira/browse/TIKA-50
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.1-incubating
>            Reporter: Keith R. Bennett
>             Fix For: 0.2-incubating
>
>
> The unit tests are still pretty skeletal.  It would be good if we added tests for any new features that were added.  This would:
> * verify that these features are working correctly
> * illustrate usage for ourselves and others (until we can provide documentation) -- this would be especially helpful now that the architecture is changing and to my knowledge we have no other usage example documentation.
> * indicate with greater certainty that if a test were missing, the feature is missing or not yet working
>   From what I can tell, here are some tests that could be added (please add more if you know of any):
> * Getting the mime type from the stream (this is working now, right?)
> * Getting metadata (e.g. "title") from more document types
> * Multiple metadata values for a single metadata name

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.