Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.0
-
None
Description
The unit tests for the opennlp.tools.formats package can be optimized towards less code duplication. For the current test classes, this is observed for reading or loading (file-based) resources required to conduct the actual testing.
Aims:
- Reduce code duplication
- Extract common ways of finding/scanning/reading resource files
- Optimize tests towards clarity