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

Uploaded Source

Built Distribution

pytest_spark-0.1.2-py2.py3-none-any.whl (3.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for pytest-spark-0.1.2.tar.gz
Algorithm Hash digest
SHA256 18aac2506551d71c56f5b9bc5e038c8854271e6b221c539e1379e66754ca4439
MD5 6e4abeb2f93dc41ce01eaeaafe552db9
BLAKE2b-256 b28e2cbc2dc6393209e35fe2b6cd28862052943cea854467c53338eb4751fdaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_spark-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 293c138cc7e36a396e498eb4d5b5279154091c09fc19baca4917e064d4970b71
MD5 376350405aad2a00b21f52385160172d
BLAKE2b-256 4330e42006ff3f29d0e6d56f0aea272fc5aae0b4aad476ba96805df89286e4d2

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