Martin Wiesner created OPENNLP-1631:
---------------------------------------

             Summary: Convert existing ModelLoader tests to Integration Test 
                 Key: OPENNLP-1631
                 URL: https://issues.apache.org/jira/browse/OPENNLP-1631
             Project: OpenNLP
          Issue Type: Sub-task
          Components: Build, Packaging and Test
    Affects Versions: 2.4.0
            Reporter: Martin Wiesner
            Assignee: Martin Wiesner
             Fix For: 2.4.1


We have three test classes that try to load model (ud) files for certain 
languages:
 * POSModelLoaderTest.java
 * SentenceModelLoaderTest.java
 * TokenizerModelLoaderTest.java

within the _opennlp.tools.cmdline_ package.

However, those actually behave like an IT. Therefore, those should be renamed 
and executed within failsafe plugin phase, separately from the JUnit (surefire) 
phase.

Morever, we need to add more (all 23) supported model languages. Currently, the 
integration test idea for all three classes only uses EN and DE for testing if 
the corresponding model files can be loaded against the current code base.

 

 



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

Reply via email to