skip to navigation
skip to content

pytest-spark 0.1.2

pytest plugin to run the tests with support of pyspark.

pytest plugin to run the tests with support of pyspark (Apache Spark).

This plugin will allow to specify SPARK_HOME directory in pytest.ini and make “pyspark” importable in you tests which are executed by pytest.

Install

$ pip install pytest-spark

Usage

To run test with required spark_home location just add “spark_home” value to pytest.ini in your project directory:

[pytest]
spark_home = /opt/spark

pytest-spark will try to import pyspark from specified location.

 
File Type Py Version Uploaded on Size
pytest-spark-0.1.2.tar.gz (md5) Source 2016-12-30 1KB
pytest_spark-0.1.2-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2016-12-30 3KB