nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpad Boda (Jira)" <j...@apache.org>
Subject [jira] [Commented] (MINIFICPP-1233) Create Regression Tests for H2O Processors using pytest-mock
Date Fri, 29 May 2020 18:16:00 GMT

    [ https://issues.apache.org/jira/browse/MINIFICPP-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17119825#comment-17119825
] 

Arpad Boda commented on MINIFICPP-1233:
---------------------------------------

[~james.medel] How do you plan to test your processors without the c++ code?

I think you can test some Python functions as standalones, but can't really verify that your
H20 processors properly use the framework (handling flowfiles, attributes, etc).

Because of this I would go with the hybrid approach in case that looks feasible. 

Maybe I misunderstand something of the above, so feel free to fix me. 

> Create Regression Tests for H2O Processors using pytest-mock
> ------------------------------------------------------------
>
>                 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)

Mime
View raw message