Pytest unit test cases for pyspark project

pyspark
apache-spark

#1

I am working on Pyspark project. Need to create unit test cases for the pyspark scripts.

Can someone please share if there are any documentation around this on how to create the unit test scripts using pytest-spark plugin in Pycharm project structure and how to invoke the unit test cases.