[GitHub] [spark] zhengruifeng commented on a diff in pull request #38666: [CONENCT][PYTHON][DOC] Document how to run the module of tests for Spark Connect Python tests

2022-11-15 Thread GitBox


zhengruifeng commented on code in PR #38666:
URL: https://github.com/apache/spark/pull/38666#discussion_r1023503919


##
connector/connect/README.md:
##
@@ -52,9 +52,15 @@ To use the release version of Spark Connect:
 ### Run Tests
 
 ```bash
+# Run a single Python test.
 ./python/run-tests --testnames 'pyspark.sql.tests.connect.test_connect_basic'

Review Comment:
   ```suggestion
   # Run a single Python class.
   ./python/run-tests --testnames 'pyspark.sql.tests.connect.test_connect_basic'
   
   # Run a single test case in a specific class:
   ./python/run-tests --testnames 'pyspark.sql.tests.connect.test_connect_basic 
SparkConnectTests.test_schema'
   ```



-- 
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: reviews-unsubscr...@spark.apache.org

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


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] zhengruifeng commented on a diff in pull request #38666: [CONENCT][PYTHON][DOC] Document how to run the module of tests for Spark Connect Python tests

2022-11-15 Thread GitBox


zhengruifeng commented on code in PR #38666:
URL: https://github.com/apache/spark/pull/38666#discussion_r1023503919


##
connector/connect/README.md:
##
@@ -52,9 +52,15 @@ To use the release version of Spark Connect:
 ### Run Tests
 
 ```bash
+# Run a single Python test.
 ./python/run-tests --testnames 'pyspark.sql.tests.connect.test_connect_basic'

Review Comment:
   ```suggestion
   # Run a single Python class.
   ./python/run-tests --testnames 'pyspark.sql.tests.connect.test_connect_basic'
   # Run a single test case in a specific class:
   ./python/run-tests --testnames 'pyspark.sql.tests.connect.test_connect_basic 
SparkConnectTests.test_schema'
   ```



-- 
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: reviews-unsubscr...@spark.apache.org

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


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org