Skip to main content

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.

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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pytest-spark-0.1.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

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.

Release history Release notifications | RSS feed

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page