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

ASF subversion and git services commented on NIFI-14876:
--------------------------------------------------------

Commit 48b6ee674cf2008debf50a218e51f9086173aaf0 in nifi's branch 
refs/heads/main from Asger Askov Blekinge
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=48b6ee674c ]

NIFI-14876: Mock TestRunners to allows setting of ParameterLookup

Co-authored-by: Pierre Villard <[email protected]>
Signed-off-by: Pierre Villard <[email protected]>

This closes #10217.


> Ability to mock Context Parameters in TestRunner
> ------------------------------------------------
>
>                 Key: NIFI-14876
>                 URL: https://issues.apache.org/jira/browse/NIFI-14876
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Tools and Build
>    Affects Versions: 2.4.0, 2.5.0
>            Reporter: Asger Askov Blekinge
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.6.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> When developing Custom Processors, you need to create Unit Tests.
>  
> Currently, {{MockProcessContext}} is always using {{ParameterLookup.EMPTY, or 
> rather, MockPropertyValue is.}}
>  
> This makes it impossibly to mock a context parameter for a TestRunner.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to