Github user peter-gergely-horvath commented on the issue:

    https://github.com/apache/nifi/pull/2872
  
    Hi @MikeThomsen I _intentionally_ have no test configuration in the project 
(at least for now): they are merely *samples* of what can be done, but they 
should not be executed as part of the core NiFi build. 
    NiFi is a beast, starting and stopping it takes some time, I do not want to 
add that to the each NiFi build. 
    
    Please create a new Maven project quickstart project (that will have 
testing configuration enabled) and add the following (replacing `${nifi 
version}` with the current one) to the dependencies:
    
    ```
    <dependency>
        <groupId>org.apache.nifi:</groupId>
        <artifactId>nifi-testharness</artifactId>
        <version>${nifi version}</version>
    </dependency>
    ```
    once done, you can take the samples into your own project, where you can 
experiment with the test harness. 
    I understand piggybacking on the tests directory is maybe not the perfect 
place to deliver samples, but given the circumstances I think it is acceptable 
and could maybe be improved in the future.  



---

Reply via email to