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.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

pytest_spark-0.1.0-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.0.tar.gz.

File metadata

File hashes

Hashes for pytest-spark-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0cc4f0964a2a5ee0ad86e82412794bcdb65c4df293ade8edb604c179271f993d
MD5 dc3d6920d341da0f999129bcfcb9e3e6
BLAKE2b-256 668177d52a10f7b5a4e75d2e30b6c304552fdea466b89082895868a819fdcad0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_spark-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 06cc81b98b54ec1f47daf67aabeb02d835eb6701387019024bad0ec1c033e88a
MD5 deadec078dd9c4fb035077bc2f059451
BLAKE2b-256 a75cf5811ee592141104b95716dd17f64c3ed5717abad41bb3881d9b2e1b7035

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