zentol commented on a change in pull request #18696:
URL: https://github.com/apache/flink/pull/18696#discussion_r803578123



##########
File path: docs/content/docs/dev/configuration/testing.md
##########
@@ -31,8 +31,30 @@ Flink provides utilities for testing your job that you can 
add as dependencies.
 You need to add the following dependencies if you want to develop tests for a 
job built with the 
 DataStream API:
 
+{{< tabs "datastream test" >}}
+
+{{< tab "Maven" >}}
+Open the `pom.xml` file in your project directory and add these dependencies 
in between the dependencies tab.
 {{< artifact flink-test-utils withTestScope >}}
 {{< artifact flink-runtime withTestScope >}}
+{{< /tab >}}
+
+{{< tab "Gradle" >}}
+Open the `build.gradle` file in your project directory and add the following 
in the dependencies block.
+```gradle
+...
+dependencies {
+    ...  
+    flinkShadowJar "org.apache.flink:flink-test-utils:${flinkVersion}"
+    flinkShadowJar "org.apache.flink:flink-runtime:${flinkVersion}"

Review comment:
       Shouldn't the scope be `testImplementation`?

##########
File path: docs/content/docs/dev/configuration/testing.md
##########
@@ -41,7 +63,28 @@ For more information on how to use these utilities, check 
out the section on [Da
 If you want to test the Table API & SQL programs locally within your IDE, you 
can add the following 
 dependency:
 
+{{< tabs "table test" >}}
+
+{{< tab "Maven" >}}
+Open the `pom.xml` file in your project directory and add this dependency in 
between the dependencies tab.
 {{< artifact flink-table-test-utils withTestScope >}}
+{{< /tab >}}
+
+{{< tab "Gradle" >}}
+Open the `build.gradle` file in your project directory and add the following 
in the dependencies block.
+```gradle
+...
+dependencies {
+    ...  
+    flinkShadowJar "org.apache.flink:flink-table-test-utils:${flinkVersion}"

Review comment:
       same as above




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to