[
https://issues.apache.org/jira/browse/MINIFICPP-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17123429#comment-17123429
]
James Medel commented on MINIFICPP-1233:
----------------------------------------
I have written the CMakeLists.txt file for my h2o processor tests. I am working
on the C++ code for testing both h2o python processors. I will try to complete
the code tomorrow. I will follow up with you in a day or two on how testing
goes.
Two MiNiFi test programs I am using as references for writing my C++ test code:
PythonExecuteScriptTests.cpp:
[https://github.com/apache/nifi-minifi-cpp/blob/master/libminifi/test/script-tests/PythonExecuteScriptTests.cpp]
TensorFlowTests.cpp:
[https://github.com/apache/nifi-minifi-cpp/blob/master/libminifi/test/tensorflow-tests/TensorFlowTests.cpp]
> Create Regression Tests for H2O Py Processors
> ---------------------------------------------
>
> Key: MINIFICPP-1233
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1233
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: James Medel
> Assignee: James Medel
> Priority: Blocker
> Fix For: 0.8.0
>
>
> Per https://issues.apache.org/jira/browse/MINIFICPP-1214
> We should resolve Marc's and Szasz's concerns about whether
> [https://github.com/apache/nifi-minifi-cpp/pull/784] breaks these two new
> processors by having regression tests. We will explore and plan to use
> pytest-mock ([https://github.com/pytest-dev/pytest-mock]) testing framework
> to implement the regression tests for the new processors. Therefore, these
> new processors would be easier to merge.
>
> regression test concerns
--
This message was sent by Atlassian Jira
(v8.3.4#803005)