allisonwang-db commented on code in PR #53465:
URL: https://github.com/apache/spark/pull/53465#discussion_r2620652428


##########
python/docs/source/development/testing.rst:
##########
@@ -36,6 +36,13 @@ After that, the PySpark test cases can be run via using 
``python/run-tests``. Fo
 
     python/run-tests --python-executable=python3
 
+You can run individual tests by using ``--testnames`` option. For example,
+
+.. code-block:: bash
+
+    python/run-tests --testnames pyspark.sql.tests.test_dataframe
+    python/run-tests --testnames 
pyspark.sql.tests.test_dataframe.DataFrameTests.test_range
+

Review Comment:
   Shall we add version supported? If users are on older Spark versions this 
won't work right?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to