Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-50

Unit tests are incomplete.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.1-incubating
    • Fix Version/s: None
    • Component/s: general
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kbennett Keith Bennett
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: