Skip to main content

A framework to automatize your tests for data projects

Project description

Ploosh

Ploosh is yaml based framework used to automatized the testing process in data projects.

Get started

Go to the ploosh documentation to find the get started tutorial.

Steps

  1. Install ploosh package
  2. Run tests
  3. Analyse results

Install Ploosh

Install from PyPi package manager:

pip install ploosh

Run tests

ploosh --connections "connections.yml" --cases "test_cases" --export "JSON" --p_my_sql_server_password "mypassword"

Execution result

Test results

[
  {
    "name": "Test aggregated data",
    "state": "passed",
    "source": {
      "start": "2024-02-05T17:08:36Z",
      "end": "2024-02-05T17:08:36Z",
      "duration": 0.0032982
    },
    "expected": {
      "start": "2024-02-05T17:08:36Z",
      "end": "2024-02-05T17:08:36Z",
      "duration": 6.0933333333333335e-05
    },
    "compare": {
      "start": "2024-02-05T17:08:36Z",
      "end": "2024-02-05T17:08:36Z",
      "duration": 0.00046468333333333334
    }
  },
  {
    "name": "Test unvalid data",
    "state": "failed",
    "source": {
      "start": "2024-02-05T17:08:36Z",
      "end": "2024-02-05T17:08:36Z",
      "duration": 0.00178865
    },
    "expected": {
      "start": "2024-02-05T17:08:36Z",
      "end": "2024-02-05T17:08:36Z",
      "duration": 1.49e-05
    },
    "compare": {
      "start": "2024-02-05T17:08:36Z",
      "end": "2024-02-05T17:08:36Z",
      "duration": 1.8333333333333333e-07
    },
    "error": {
      "type": "count",
      "message": "The count in source dataset (55) is differant than the count the in expected dataset (0)"
    }
  }
]

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

ploosh-0.4.11.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

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

ploosh-0.4.11-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

Details for the file ploosh-0.4.11.tar.gz.

File metadata

  • Download URL: ploosh-0.4.11.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for ploosh-0.4.11.tar.gz
Algorithm Hash digest
SHA256 6f7c721b0e22d728a43856ae176a00de8781f52098478f5310b9069f10b38ad6
MD5 c6217bb3f979a48d8e74f9905dd3ca57
BLAKE2b-256 881d9a1d95e59884aceedb1ce7a0515134ac011202e38118ded2f55905e7b56b

See more details on using hashes here.

File details

Details for the file ploosh-0.4.11-py3-none-any.whl.

File metadata

  • Download URL: ploosh-0.4.11-py3-none-any.whl
  • Upload date:
  • Size: 47.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for ploosh-0.4.11-py3-none-any.whl
Algorithm Hash digest
SHA256 988743dc175dbdf4670b92c1d59f03c88c69a7888ccea6dee0471c8a2df6455b
MD5 c143f4f0430e2e1efd2a4e84893e3b84
BLAKE2b-256 861930d8d9bdc8fa35d632907733657284798b25ec6b1300959aae5e8c6cdb2c

See more details on using hashes here.

Supported by

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