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

Lim Qing Wei commented on FLINK-32323:
--------------------------------------

Hi [~martijnvisser] , I believe we need the `<type>test-jar</type>` to 
explicitly pull the test jar.

 

In my project, without the test-jar config, maven wont pull the TestHarness 
code.

 

Am I missing something here?

> Flink Testing doc missing key information about dependency
> ----------------------------------------------------------
>
>                 Key: FLINK-32323
>                 URL: https://issues.apache.org/jira/browse/FLINK-32323
>             Project: Flink
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Lim Qing Wei
>            Priority: Major
>
> On this doc: 
> [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/datastream/testing/]
>  
> It links to this doc 
> [https://nightlies.apache.org/flink/flink-docs-master/docs/dev/configuration/testing/]
>  for project configuration. But it does not mention to use the TestHarness 
> from Flink, we also need to add the following dependency:
>  
> {noformat}
> <dependency>
>     <groupId>org.apache.flink</groupId>
>     <artifactId>flink-streaming-java</artifactId>
>     <version>${flink.version}</version>
>     <type>test-jar</type>
>     <scope>test</scope>
> </dependency>{noformat}



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

Reply via email to