Hugo Louro created STORM-2253:
---------------------------------
Summary: Storm PMML Bolt - Unit Tests
Key: STORM-2253
URL: https://issues.apache.org/jira/browse/STORM-2253
Project: Apache Storm
Issue Type: Bug
Components: storm-pmml
Affects Versions: 2.0.0
Reporter: Hugo Louro
Assignee: Hugo Louro
Currently the patch has integration tests through the form of a test topology
that loads a PMML Model and raw input data from a CSV file. The {@link
RawInputFromCSVSpout}
creates a stream of tuples with raw inputs, and the {@link PMMLPredictorBolt}
computes the predicted scores.
The main focus of the initial patch was to design the classes in such a way
that they can accommodate arbitrary runtime environments. The default
implementation provided uses one such runtime execution library, which is more
suited to be tested using integration tests.
Will add some unit tests around to assert for edge and some common cases
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)