You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2024/10/29 10:39:00 UTC

[jira] [Resolved] (OPENNLP-1631) Convert existing ModelLoader tests to integration tests

     [ https://issues.apache.org/jira/browse/OPENNLP-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Zowalla resolved OPENNLP-1631.
--------------------------------------
    Resolution: Fixed

> Convert existing ModelLoader tests to integration tests 
> --------------------------------------------------------
>
>                 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
>            Priority: Minor
>             Fix For: 2.4.1
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)