ivanychev / medium-faster-pyspark-tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Faster PySpark tests

This is the example PySpark test set up for my Medium article written here.

How to use it?

  • Install Python 3.8.
  • Create a virtual environment via python3 -m venv venv and activate it source venv/bin/activate
  • Install poetry pip3 install poetry
  • Install all dependencies poetry install
  • Run tests
pytest tests --dist loadfile -n 2

About

License:MIT License


Languages

Language:Python 100.0%