Skip to main content

pytest plugin to run the tests with support of pyspark.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-spark-0.1.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

pytest_spark-0.1.1-py2.py3-none-any.whl (3.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pytest-spark-0.1.1.tar.gz.

File metadata

File hashes

Hashes for pytest-spark-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0e920f14f6a5c57939ec7f5074d8209a84adc406e70839e4852fdbec5094704f
MD5 184fe5c69759d3df6a550870bee88fcc
BLAKE2b-256 9fd12a75349c8c4f87fc73208f8db5a820c25a848bd5a0be0ded1143086ded1c

See more details on using hashes here.

File details

Details for the file pytest_spark-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_spark-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6d58e85ec6719df066f0ef3b957c2a72f1fb2373cd1f722d26de4405dc0624a7
MD5 ba8ce7435417fea76c70c65f52224d16
BLAKE2b-256 b2d580f85a0166692945abe87eff623c696210df7ae31145851d4d32f870cd50

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page